mirror of
https://github.com/primer/css.git
synced 2024-12-04 14:59:16 +03:00
Merge pull request #1062 from primer/responsive-tabnav
Make tabnav responsive
This commit is contained in:
commit
c373293ecf
@ -7,12 +7,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.tabnav-tabs {
|
.tabnav-tabs {
|
||||||
|
display: flex;
|
||||||
// stylelint-disable-next-line primer/spacing
|
// stylelint-disable-next-line primer/spacing
|
||||||
margin-bottom: -1px;
|
margin-bottom: -1px;
|
||||||
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabnav-tab {
|
.tabnav-tab {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
flex-shrink: 0;
|
||||||
padding: $spacer-2 $spacer-3;
|
padding: $spacer-2 $spacer-3;
|
||||||
font-size: $h5-size;
|
font-size: $h5-size;
|
||||||
// stylelint-disable-next-line primer/typography
|
// stylelint-disable-next-line primer/typography
|
||||||
|
Loading…
Reference in New Issue
Block a user