Skip to content

Commit

Permalink
Performance Profiler: Fix accordion styling (#95500)
Browse files Browse the repository at this point in the history
* fix according styling

* Whitespace

---------

Co-authored-by: Philip Jackson <p-jackson@live.com>
  • Loading branch information
vykes-mac and p-jackson authored Oct 18, 2024
1 parent ae6df04 commit 4f8599a
Showing 1 changed file with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ $blueberry-color: #3858e9;
border-bottom-left-radius: 6px;
}

&:nth-child(2) {
&:nth-child(1) {
/* stylelint-disable-next-line scales/radii */
border-top-left-radius: 6px;
/* stylelint-disable-next-line scales/radii */
Expand All @@ -47,7 +47,7 @@ $blueberry-color: #3858e9;
&:not(.is-expanded) {
border-bottom: 1px solid var(--studio-gray-5);

&:not(:nth-child(-n+2)) {
&:not(:nth-child(-n+1)) {
border-top: none;
}
}
Expand All @@ -62,7 +62,7 @@ $blueberry-color: #3858e9;
}
}

&.is-expanded:not(:nth-child(-n+2)) {
&.is-expanded:not(:nth-child(-n+1)) {
border-top: none;
}
}
Expand All @@ -75,6 +75,15 @@ $blueberry-color: #3858e9;
margin-bottom: 24px;
}

+ .card.foldable-card {
/* stylelint-disable-next-line scales/radii */
border-top-left-radius: 6px !important;
/* stylelint-disable-next-line scales/radii */
border-top-right-radius: 6px !important;

border-top: 1px solid var(--studio-gray-5) !important;
}

&.foldable-card {
/* stylelint-disable-next-line scales/radii */
border-radius: 6px;
Expand Down

0 comments on commit 4f8599a

Please sign in to comment.