From 9ef24b9a0f550e6ed55a5e09692dcfa29a920518 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Fri, 18 Mar 2016 11:59:57 +0100 Subject: Keep share checkboxes together - removed leading spaces before markup which can affect rendering in some cases - added shareOption CSS class to group and keep share option checkbox + label - moved ".showCruds" arrow into the matching shareOption to keep the arrow together with the checkbox --- core/css/share.css | 5 +++ core/js/sharedialogshareelistview.js | 86 +++++++++++++++++++++--------------- 2 files changed, 55 insertions(+), 36 deletions(-) diff --git a/core/css/share.css b/core/css/share.css index 55ee5996a75..047bb5eba50 100644 --- a/core/css/share.css +++ b/core/css/share.css @@ -63,6 +63,11 @@ white-space: normal; } +#shareWithList .shareOption { + white-space: nowrap; + display: inline-block; +} + #shareWithList .unshare img, #shareWithList .showCruds img { vertical-align:text-bottom; /* properly align icons */ } diff --git a/core/js/sharedialogshareelistview.js b/core/js/sharedialogshareelistview.js index 49580cc888b..e4edbf24c08 100644 --- a/core/js/sharedialogshareelistview.js +++ b/core/js/sharedialogshareelistview.js @@ -16,42 +16,56 @@ var TEMPLATE = '' ; -- cgit v1.2.3