From 762e949663ddb838adf0f3b7d464fac0b4c73c18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Wed, 28 Mar 2018 14:26:52 +0200 Subject: [PATCH] Add explicit style for embedded table --- app/assets/stylesheets/layout/_index.sass | 1 + .../layout/_work_package_table_embedded.sass | 33 +++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 app/assets/stylesheets/layout/_work_package_table_embedded.sass diff --git a/app/assets/stylesheets/layout/_index.sass b/app/assets/stylesheets/layout/_index.sass index 88be285fdc..0195f648fb 100644 --- a/app/assets/stylesheets/layout/_index.sass +++ b/app/assets/stylesheets/layout/_index.sass @@ -45,6 +45,7 @@ // Work packages page layouts @import layout/work_package_table +@import layout/work_package_table_embedded @import layout/work_packages_details_view @import layout/work_packages_full_view @import layout/work_package_mobile diff --git a/app/assets/stylesheets/layout/_work_package_table_embedded.sass b/app/assets/stylesheets/layout/_work_package_table_embedded.sass new file mode 100644 index 0000000000..e301b082a1 --- /dev/null +++ b/app/assets/stylesheets/layout/_work_package_table_embedded.sass @@ -0,0 +1,33 @@ +//-- copyright +// OpenProject is a project management system. +// Copyright (C) 2012-2018 the OpenProject Foundation (OPF) +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License version 3. +// +// OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows: +// Copyright (C) 2006-2017 Jean-Philippe Lang +// Copyright (C) 2010-2013 the ChiliProject Team +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +// See docs/COPYRIGHT.rdoc for more details. +//++ + +// Disable CSS containment in the embedded container +// unless we're setting an external height with overflow, containment will not work. +.work-packages-embedded-view--container + .work-package-table--container + contain: initial !important