From 7b2e4b717727aaf276ded107e62d782a9d239784 Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 7 Apr 2021 16:14:22 +0200 Subject: [PATCH] Fix list layout when the list has no background for link shares --- src/styles/components/list.scss | 2 +- src/styles/theme/link-share.scss | 19 ++++++++++++++++++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/src/styles/components/list.scss b/src/styles/components/list.scss index 16589dfb..19b3992e 100644 --- a/src/styles/components/list.scss +++ b/src/styles/components/list.scss @@ -144,7 +144,7 @@ $filter-container-top-link-share-list: -47px; } .link-share-container .list-view .filter-container { - margin-top: $filter-container-top-link-share-list; + margin-top: $filter-container-top-link-share-list - 10px; } .link-share-container .filter-container { diff --git a/src/styles/theme/link-share.scss b/src/styles/theme/link-share.scss index 449c9e33..b34e041e 100644 --- a/src/styles/theme/link-share.scss +++ b/src/styles/theme/link-share.scss @@ -54,4 +54,21 @@ width: 100%; margin: 0; } -} \ No newline at end of file +} + +.link-share-container:not(.has-background) { + .list-view { + max-width: 100%; + } + + .loader-container, .gantt-chart-container { + > .card { + box-shadow: none !important; + border: none; + + .task-add { + padding: 1rem 0 0; + } + } + } +}