diff options
author | jaqra <48099350+jaqra@users.noreply.github.com> | 2019-10-29 03:19:18 +0300 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2019-10-29 08:19:18 +0800 |
commit | c4bc5abda31eed6a367b0b95005c80e97ddb7719 (patch) | |
tree | 4c94943224bead283db360c6815a5b159580d577 /public | |
parent | d6f6f9db3fe6aaca14a7d352fdc3193ae28c9a1f (diff) | |
download | gitea-c4bc5abda31eed6a367b0b95005c80e97ddb7719.tar.gz gitea-c4bc5abda31eed6a367b0b95005c80e97ddb7719.zip |
Make 100% width search bar (#8710)
* Make 100% width search bar
* Use flex: auto instead of flex: 1
Diffstat (limited to 'public')
-rw-r--r-- | public/css/index.css | 1 | ||||
-rw-r--r-- | public/less/_repository.less | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/public/css/index.css b/public/css/index.css index d0fe896a06..e74bc10d74 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -793,6 +793,7 @@ i.icon.centerlock{top:1.5em} .repository .segment.reactions .select-reaction{float:none} .repository .segment.reactions .select-reaction:not(.active) a{display:none} .repository .segment.reactions:hover .select-reaction a{display:block} +.repository .ui.fluid.action.input .ui.search.action.input{flex:auto} .user-cards .list{padding:0;display:flex;flex-wrap:wrap} .user-cards .list .item{list-style:none;width:32%;margin:10px 10px 10px 0;padding-bottom:14px;float:left} .user-cards .list .item .avatar{width:48px;height:48px;float:left;display:block;margin-right:10px} diff --git a/public/less/_repository.less b/public/less/_repository.less index d6bc84ee56..488f850443 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -1936,6 +1936,12 @@ display: block; } } + + .ui.fluid.action.input { + .ui.search.action.input { + flex: auto; + } + } } // End of .repository |