From cc4789af3f71aa5e95dbfa26e6f6d99e25161e36 Mon Sep 17 00:00:00 2001 From: Henriette Darge Date: Mon, 18 Nov 2024 13:53:26 +0100 Subject: [PATCH] Cleanup _overrides.sass --- .../src/global_styles/primer/_overrides.sass | 23 +++++-------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/frontend/src/global_styles/primer/_overrides.sass b/frontend/src/global_styles/primer/_overrides.sass index 0c09a46bef2..2ef53fc4dd5 100644 --- a/frontend/src/global_styles/primer/_overrides.sass +++ b/frontend/src/global_styles/primer/_overrides.sass @@ -28,23 +28,10 @@ // Re-apply the primer styles with higher specificity // as the OpenProject form styles override them. - -.Box - > ul:not(.op-uc-list) - margin-left: 0 - - .FormControl - label - margin-bottom: 0 input border-radius: var(--borderRadius-medium) -action-menu - anchored-position - ul - margin-left: 0 - .UnderlineNav @include no-visible-scroll-bar margin-bottom: 12px @@ -52,19 +39,21 @@ action-menu @media screen and (min-width: $breakpoint-sm) scroll-behavior: smooth -ul.SegmentedControl - margin-left: 0 - /* Remove margin-left: 2rem from Breadcrumbs */ #breadcrumb, page-header, sub-header, .op-work-package-details-tab-component, .tabnav, -.Box-header +.Box-header, +action-menu anchored-position ol, ul margin-left: 0 +ul.SegmentedControl, +.Box > ul:not(.op-uc-list) + margin-left: 0 + #breadcrumb .breadcrumb-item.breadcrumb-item-selected a