Fix create menu item widths (#7708)

Fixes: https://github.com/go-gitea/gitea/issues/7098
tokarchuk/v1.17
silverwind 5 years ago committed by Lauris BH
parent c1b09c30f0
commit 0fabdf03b2
  1. 2
      public/css/index.css
  2. 2
      public/less/_base.less

@ -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}

@ -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 {

Loading…
Cancel
Save