VolkerE has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/378359 )

Change subject: Toolbar: Move `unselectable` up & concatenate selectors
......................................................................

Toolbar: Move `unselectable` up & concatenate selectors

Moving `unselectable` mixin up as there are no other elements in
a toolbar which should be selectable. Also saving extra selector
with same property.

Change-Id: Iacf484f6d27a3d685019e63ec1e68872c319f6c4
---
M src/styles/Toolbar.less
1 file changed, 2 insertions(+), 10 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/59/378359/1

diff --git a/src/styles/Toolbar.less b/src/styles/Toolbar.less
index 10a4d21..7bfc959 100644
--- a/src/styles/Toolbar.less
+++ b/src/styles/Toolbar.less
@@ -6,10 +6,6 @@
        &-bar {
                line-height: 1;
                position: relative;
-       }
-
-       &-tools,
-       &-actions {
                .oo-ui-unselectable();
        }
 
@@ -17,12 +13,8 @@
                display: inline;
                white-space: nowrap;
 
-               .oo-ui-toolbar-narrow & {
-                       white-space: normal;
-               }
-
-               // Tools like PopupToolGroup can have a lot of content, which 
should be wrapped normally
-               .oo-ui-tool {
+               .oo-ui-toolbar-narrow &,
+               .oo-ui-tool { // Tools like PopupToolGroup can have a lot of 
content, which should be wrapped normally
                        white-space: normal;
                }
        }

-- 
To view, visit https://gerrit.wikimedia.org/r/378359
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iacf484f6d27a3d685019e63ec1e68872c319f6c4
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: VolkerE <volke...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to