Skip to content

Commit c863b89

Browse files
larsgrefersdeleuze
authored andcommitted
Improve language-switch CSS
Closes gh-23454
1 parent b52a50a commit c863b89

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/docs/asciidoc/css/stylesheet.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
@import 'css/spring.css';
22

33
.listingblock .switch {
4-
border-width: 1px 1px 0 1px;
5-
border-style: solid;
6-
border-color: #282c34;
4+
border-style: none;
75
display: inline-block;
6+
position: relative;
7+
bottom: -3px;
88
}
99

1010
.listingblock .switch--item {
@@ -13,15 +13,15 @@
1313
color: #282c34;
1414
display: inline-block;
1515
cursor: pointer;
16+
border-top-left-radius: 4px;
17+
border-top-right-radius: 4px;
1618
}
1719

1820
.listingblock .switch--item:not(:first-child) {
19-
border-width: 0 0 0 1px;
20-
border-style: solid;
21-
border-color: #282c34;
21+
border-style: none;
2222
}
2323

2424
.listingblock .switch--item.selected {
2525
background-color: #282c34;
2626
color: #e6e1dc;
27-
}
27+
}

0 commit comments

Comments
 (0)