diff options
author | Vincent Petry <pvince81@owncloud.com> | 2013-10-23 17:56:28 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2013-10-23 17:58:27 +0200 |
commit | 88c2646f7ec4d9d7dc9fd3e3a12305a357aaac17 (patch) | |
tree | 030d606a2b0ed088e629598c76022e37a68e39f8 /core/css/share.css | |
parent | a2e9c0f81a28cf1f38e1c123aec7a4f82fbf65d3 (diff) | |
download | nextcloud-server-88c2646f7ec4d9d7dc9fd3e3a12305a357aaac17.tar.gz nextcloud-server-88c2646f7ec4d9d7dc9fd3e3a12305a357aaac17.zip |
Fixed share dropdown checkbox wrapping
The "show cruds" button is now embedded into the last label/checkbox
group and wraps with it.
Added ellipsis to prevent long names to exceed the dropdown's width.
Diffstat (limited to 'core/css/share.css')
-rw-r--r-- | core/css/share.css | 46 |
1 files changed, 28 insertions, 18 deletions
diff --git a/core/css/share.css b/core/css/share.css index 1ad7bf8d888..d8140242e06 100644 --- a/core/css/share.css +++ b/core/css/share.css @@ -21,26 +21,36 @@ padding:.5em; } -#shareWithList li { - padding-top: 10px; - padding-bottom: 10px; - font-weight: bold; -} - -#shareWithList li:first-child { - white-space:normal; -} - -#shareWithList .cruds { - margin-left:-10px; -} - -#shareWithList .unshare img, #shareWithList .showCruds img { - vertical-align:text-bottom; /* properly align icons */ -} - + #shareWithList li { + padding-top: 10px; + padding-bottom: 10px; + font-weight: bold; + line-height: 21px; + white-space: normal; + } + + #shareWithList .unshare img, #shareWithList .showCruds img { + vertical-align:text-bottom; /* properly align icons */ + } + + #shareWithList label input[type=checkbox]{ + margin-left: 0; + } + #shareWithList .username{ + padding-right: .5em; + white-space: nowrap; + text-overflow: ellipsis; + max-width: 254px; + display: inline-block; + overflow: hidden; + vertical-align: middle; + } + #shareWithList li label{ + margin-right: .5em; + } #dropdown label { font-weight:400; + white-space: nowrap; } #dropdown input[type="checkbox"] { |