diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-08-07 00:15:39 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-08-07 00:15:39 -0400 |
commit | 99eeb08419e63474b4e9d6581335f693d26c0e69 (patch) | |
tree | bce77d10cde2a017f27773ee047bdaf86d53972e /public/ng/less/gogs/repository.less | |
parent | a8e05fdf1b45578ad260aca3d239beb8be6197bf (diff) | |
download | gitea-99eeb08419e63474b4e9d6581335f693d26c0e69.tar.gz gitea-99eeb08419e63474b4e9d6581335f693d26c0e69.zip |
nowarp fix
Diffstat (limited to 'public/ng/less/gogs/repository.less')
-rw-r--r-- | public/ng/less/gogs/repository.less | 37 |
1 files changed, 24 insertions, 13 deletions
diff --git a/public/ng/less/gogs/repository.less b/public/ng/less/gogs/repository.less index 88d12a7e4e..13f5a42e53 100644 --- a/public/ng/less/gogs/repository.less +++ b/public/ng/less/gogs/repository.less @@ -357,22 +357,33 @@ margin-left: 4em; } +#dashboard-switch-menu, #repo-create-owner-list { - .octicon { - margin-right: 12px; - opacity: 0; - } - top: 30px; - left: 0; - .avatar { - width: 20px; - height: 20px; - } - li.checked { + top: 30px; + left: 0; + width: auto; + max-width: 300px; .octicon { - opacity: 1; + margin-right: 12px; + opacity: 0; + } + .avatar { + width: 20px; + height: 20px; + } + li { + white-space: nowrap; + &.checked { + .octicon { + opacity: 1; + } + } + a { + text-overflow: ellipsis; + -o-text-overflow: ellipsis; + overflow: hidden; + } } - } } .file-name { margin-left: 1em; |