From c2693d45955371413787565754faf9a3bc3ae409 Mon Sep 17 00:00:00 2001 From: Martin Ohlson Date: Tue, 17 Aug 2021 14:29:51 +0200 Subject: [PATCH 1/2] fix: min height to prevent cutting in empty state --- src/pages/view/DashboardsBar/styles/Content.module.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pages/view/DashboardsBar/styles/Content.module.css b/src/pages/view/DashboardsBar/styles/Content.module.css index 387b5561f..3111dbfff 100644 --- a/src/pages/view/DashboardsBar/styles/Content.module.css +++ b/src/pages/view/DashboardsBar/styles/Content.module.css @@ -16,6 +16,10 @@ top: var(--spacers-dp4); } +.chipsContainer { + min-height: 40px; +} + @media only screen and (max-width: 480px) { .newLink { display: none; @@ -54,6 +58,7 @@ .chipsContainer { margin-bottom: -4px; padding-right: 2px; + min-height: 0; } .expanded .chipsContainer { From 7bb274e08bb56530ccb23396c96d390034e35754 Mon Sep 17 00:00:00 2001 From: Martin Ohlson Date: Tue, 17 Aug 2021 14:30:07 +0200 Subject: [PATCH 2/2] fix: left margin for new button --- src/pages/view/DashboardsBar/styles/Content.module.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/view/DashboardsBar/styles/Content.module.css b/src/pages/view/DashboardsBar/styles/Content.module.css index 3111dbfff..ae7c95a25 100644 --- a/src/pages/view/DashboardsBar/styles/Content.module.css +++ b/src/pages/view/DashboardsBar/styles/Content.module.css @@ -3,6 +3,7 @@ } .newButton { + margin-left: var(--spacers-dp8); margin-right: var(--spacers-dp8); margin-top: var(--spacers-dp4); }