From dc1ff509e09e19a09b8d6f6e856b878a25bfb4e3 Mon Sep 17 00:00:00 2001
From: Axel Rutz <axel.rutz@clever-systems.net>
Date: Mon, 17 Aug 2015 21:04:17 +0200
Subject: [PATCH] Issue #1890266 by edrupal, droplet, YesCT, Risse, hansrossel,
 ravi.khetri, axel.rutz: dropbutton text fails to retain .dropbutton-widget
 width

---
 core/misc/dropbutton/dropbutton.css                   | 8 ++++++--
 core/themes/stable/css/core/dropbutton/dropbutton.css | 8 ++++++--
 2 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/core/misc/dropbutton/dropbutton.css b/core/misc/dropbutton/dropbutton.css
index 5990514..093a5a6 100644
--- a/core/misc/dropbutton/dropbutton.css
+++ b/core/misc/dropbutton/dropbutton.css
@@ -103,8 +103,12 @@
 .dropbutton-multiple.open {
   z-index: 100;
 }
-.dropbutton-multiple .dropbutton .secondary-action {
-  display: none;
+.dropbutton-multiple:not(.open) .dropbutton .secondary-action {
+    height: 0;
+    border: none;
+    margin: 0;
+    padding: 0;
+    visibility: hidden;
 }
 .dropbutton-multiple.open .dropbutton .secondary-action {
   display: block;
diff --git a/core/themes/stable/css/core/dropbutton/dropbutton.css b/core/themes/stable/css/core/dropbutton/dropbutton.css
index 5990514..093a5a6 100644
--- a/core/themes/stable/css/core/dropbutton/dropbutton.css
+++ b/core/themes/stable/css/core/dropbutton/dropbutton.css
@@ -103,8 +103,12 @@
 .dropbutton-multiple.open {
   z-index: 100;
 }
-.dropbutton-multiple .dropbutton .secondary-action {
-  display: none;
+.dropbutton-multiple:not(.open) .dropbutton .secondary-action {
+    height: 0;
+    border: none;
+    margin: 0;
+    padding: 0;
+    visibility: hidden;
 }
 .dropbutton-multiple.open .dropbutton .secondary-action {
   display: block;
-- 
2.1.4

