Skip to content

Commit 1cf2e03

Browse files
committed
use rem consistently in tabs.css
1 parent a98297c commit 1cf2e03

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ui/src/css/tabs.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*! Asciidoctor Tabs | Copyright (c) 2018-present Dan Allen | MIT License */
22
.tabs {
3-
margin-bottom: 1.25em;
3+
margin-bottom: 1.25rem;
44
}
55

66
.tablist > ul {
@@ -19,8 +19,8 @@
1919
display: flex;
2020
font-weight: 400;
2121
line-height: 1.5;
22-
padding: 1em 1px;
23-
margin-right: 1.5em;
22+
padding: 1rem 1px;
23+
margin-right: 1.5rem;
2424
position: relative;
2525
}
2626

@@ -42,7 +42,7 @@
4242
}
4343

4444
.tablist.ulist > ul li {
45-
margin: 0 1.5em 0 0;
45+
margin: 0 1.5rem 0 0;
4646
}
4747

4848
/* Disabled to allow borders to show
@@ -80,7 +80,7 @@
8080

8181
.tabpanel {
8282
background-color: #fff;
83-
padding: 2.5em 0 1.25em 0;
83+
padding: calc(40 / var(--rem-base) * 1rem) 0 calc(20 / var(--rem-base) * 1rem) 0;
8484
}
8585

8686
.tabs.is-loading .tabpanel + .tabpanel,
@@ -104,7 +104,7 @@
104104
}
105105

106106
#content .tablecontainer {
107-
margin-bottom: 1.25em;
107+
margin-bottom: 1.25rem;
108108
}
109109

110110
#content .tablecontainer > table.tableblock {

0 commit comments

Comments
 (0)