From 0fabdf03b245cb9d0040179824281506521d8ede Mon Sep 17 00:00:00 2001 From: silverwind Date: Thu, 1 Aug 2019 22:06:34 +0200 Subject: [PATCH] Fix create menu item widths (#7708) Fixes: https://github.com/go-gitea/gitea/issues/7098 --- public/css/index.css | 2 +- public/less/_base.less | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/css/index.css b/public/css/index.css index 2eef059223..b2676282bc 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -81,7 +81,7 @@ a{cursor:pointer} .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.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 .menu>.item>.floating.label{z-index:21} .ui .text.red{color:#d95c5c!important} diff --git a/public/less/_base.less b/public/less/_base.less index ddf174cf47..24b3e3c9c9 100644 --- a/public/less/_base.less +++ b/public/less/_base.less @@ -339,7 +339,7 @@ code, } &.menu .ui.dropdown.item .menu .item { - margin-right: auto; + width: 100%; } &.dropdown .menu > .item > .floating.label {