Fix create menu item widths (#7708)

Fixes: https://github.com/go-gitea/gitea/issues/7098
This commit is contained in:
silverwind 2019-08-01 22:06:34 +02:00 committed by Lauris BH
parent c1b09c30f0
commit 0fabdf03b2
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ a{cursor:pointer}
.ui.menu,.ui.segment,.ui.vertical.menu{box-shadow:none} .ui.menu,.ui.segment,.ui.vertical.menu{box-shadow:none}
.ui .menu:not(.vertical) .item>.button.compact{padding:.58928571em 1.125em} .ui .menu:not(.vertical) .item>.button.compact{padding:.58928571em 1.125em}
.ui .menu:not(.vertical) .item>.button.small{font-size:.92857143rem} .ui .menu:not(.vertical) .item>.button.small{font-size:.92857143rem}
.ui.menu .ui.dropdown.item .menu .item{margin-right:auto} .ui.menu .ui.dropdown.item .menu .item{width:100%}
.ui.dropdown .menu>.item>.floating.label{z-index:11} .ui.dropdown .menu>.item>.floating.label{z-index:11}
.ui.dropdown .menu .menu>.item>.floating.label{z-index:21} .ui.dropdown .menu .menu>.item>.floating.label{z-index:21}
.ui .text.red{color:#d95c5c!important} .ui .text.red{color:#d95c5c!important}

View File

@ -339,7 +339,7 @@ code,
} }
&.menu .ui.dropdown.item .menu .item { &.menu .ui.dropdown.item .menu .item {
margin-right: auto; width: 100%;
} }
&.dropdown .menu > .item > .floating.label { &.dropdown .menu > .item > .floating.label {