Merge pull request #3145 from splitbrain/admin-overflow

Add flexbox to admin menu link to fix text width
This commit is contained in:
Andreas Gohr 2020-06-05 21:22:56 +02:00 committed by GitHub
commit af1080410d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 16 deletions

View File

@ -20,28 +20,31 @@
list-style-type: none;
white-space: nowrap;
a span {
display: inline-block;
a {
display: flex;
span {
display: inline-block;
&.icon {
width: 1.5em;
min-height: 1.5em;
margin: 0 0.5em;
vertical-align: top;
svg {
&.icon {
width: 1.5em;
height: 1.5em;
fill: @ini_link;
display: inline-block;
path {
min-height: 1.5em;
margin: 0 0.5em;
vertical-align: top;
svg {
width: 1.5em;
height: 1.5em;
fill: @ini_link;
display: inline-block;
path {
fill: @ini_link;
}
}
}
}
&.prompt {
white-space: normal;
&.prompt {
white-space: normal;
}
}
}
}