From 2840e4284db6ed4bd432bfade26b662f3ef53a87 Mon Sep 17 00:00:00 2001 From: Wesley B <62723358+wesleyboar@users.noreply.github.com> Date: Tue, 3 Dec 2024 18:03:14 -0600 Subject: [PATCH] style: npm run prettier:fix --- .../DataFiles/DataFilesSidebar/DataFilesSidebar.scss | 4 +--- client/src/styles/components/dropdown-menu.css | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/client/src/components/DataFiles/DataFilesSidebar/DataFilesSidebar.scss b/client/src/components/DataFiles/DataFilesSidebar/DataFilesSidebar.scss index 30e022c08..2cea65985 100644 --- a/client/src/components/DataFiles/DataFilesSidebar/DataFilesSidebar.scss +++ b/client/src/components/DataFiles/DataFilesSidebar/DataFilesSidebar.scss @@ -21,9 +21,7 @@ .data-files-sidebar { .dropdown-menu { /* To make menu wider than button yet still centered */ - width: calc( - 100% + var(--global-space--section-left) - ); + width: calc(100% + var(--global-space--section-left)); left: calc( var(--global-space--section-left) / -2 ) !important; /* to override `inset` from Popper via Reactstrap */ diff --git a/client/src/styles/components/dropdown-menu.css b/client/src/styles/components/dropdown-menu.css index 86a77d582..039ae65e6 100644 --- a/client/src/styles/components/dropdown-menu.css +++ b/client/src/styles/components/dropdown-menu.css @@ -30,10 +30,10 @@ Styleguide Components.Dropdown content: ''; } .dropdown-menu::before { - top: calc( var(--arrow-size) * -1 ); + top: calc(var(--arrow-size) * -1); } .dropdown-menu::after { - top: calc(( var(--arrow-size) - var(--border-width)) * -1 ); + top: calc(( var(--arrow-size) - var(--border-width)) * -1); border-bottom-color: var(--global-color-primary--xx-light); }