зеркало из https://github.com/mozilla/gecko-dev.git
Bug 857987 - (Part 2) Use flex to size segmented buttons in reader mode menu. r=mfinkle
This commit is contained in:
Родитель
cfb0cf1e2a
Коммит
1f9d940618
|
@ -440,6 +440,8 @@ body {
|
|||
}
|
||||
|
||||
.segmented-button {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
|
@ -447,7 +449,8 @@ body {
|
|||
}
|
||||
|
||||
.segmented-button > li {
|
||||
display: inline-block;
|
||||
flex: 1 1 auto;
|
||||
text-align: center;
|
||||
padding: 1px 5px;
|
||||
border-left: 1px solid #ccc;
|
||||
}
|
||||
|
@ -460,7 +463,7 @@ body {
|
|||
.segmented-button > li > a:hover
|
||||
.segmented-button > li > a:visited {
|
||||
display: block;
|
||||
padding: 10px 34px;
|
||||
padding: 10px 16px;
|
||||
text-decoration: none;
|
||||
color: black;
|
||||
border-radius: 4px;
|
||||
|
|
Загрузка…
Ссылка в новой задаче