Skip to content

Commit 40ea06a

Browse files
msbtamotl
authored andcommitted
Fix jumping border on "page-tools" elements
1 parent 9985bfb commit 40ea06a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/crate/theme/rtd/crate/static/css/ng/page-tools.scss

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,13 @@
4747
color: $pagetools-text-color;
4848
}
4949

50-
// Attempt to fix jumping border.
51-
// FIXME: Will cause other kinds of wobbles.
52-
/*
53-
details.sd-dropdown:not([open]).sd-card
54-
border: 1px solid transparent
55-
*/
50+
// Fix jumping border.
51+
details.sd-dropdown:not([open]).sd-card {
52+
border: none;
53+
}
54+
.sd-card-header {
55+
border-bottom: none;
56+
}
5657

5758
/* Fix text alignment with sphinx-togglebutton */
5859
button.toggle-button {

0 commit comments

Comments
 (0)