We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd5c98e commit 01df27dCopy full SHA for 01df27d
components/Article/Codebox/index.module.scss
@@ -16,12 +16,13 @@
16
padding: var(--space-05) var(--space-08);
17
18
.langBox {
19
+ border-radius: var(--border-radius-3);
20
display: flex;
21
flex-direction: row;
22
height: 28px;
23
+ overflow: hidden;
24
25
.lang {
- border-radius: var(--border-radius-3);
26
border-width: 0;
27
cursor: pointer;
28
font-family: var(--sans);
@@ -30,16 +31,6 @@
30
31
padding: 0 var(--space-16);
32
text-transform: uppercase;
33
- &:nth-of-type(even) {
34
- border-bottom-left-radius: 0;
35
- border-top-left-radius: 0;
36
- }
37
-
38
- &:nth-of-type(odd):not(:last-of-type) {
39
- border-bottom-right-radius: 0;
40
- border-top-right-radius: 0;
41
42
43
&.selected {
44
font-weight: var(--font-weight-bold);
45
}
0 commit comments