From 592b306b9ea7d4635cb33e378fad1c5d41bc777f Mon Sep 17 00:00:00 2001 From: Franck Allimant Date: Sat, 7 Dec 2013 09:58:01 +0100 Subject: [PATCH] Fixed nt,-group css rule which caused garbage in top bar buttons --- .../default/assets/less/thelia/thelia.less | 25 +++++++++++-------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/templates/backOffice/default/assets/less/thelia/thelia.less b/templates/backOffice/default/assets/less/thelia/thelia.less index 41b37d4ca..8660af2ad 100755 --- a/templates/backOffice/default/assets/less/thelia/thelia.less +++ b/templates/backOffice/default/assets/less/thelia/thelia.less @@ -161,16 +161,6 @@ width: 100%; } -.btn-group { - white-space: nowrap; // prevent buttons from wrapping when in tight spaces (e.g., the table on the tests page) - > .btn { - float: inherit; - } - > .btn + .btn { - margin-left: -4px; - } -} - // -- Login form -------------------------------------------------------------- .form-signin { @@ -423,4 +413,19 @@ .dropzone { border: 1px dashed #ddd; padding: 20px; +} + +// No button wrap in button groups in td.action cells +table { + td.actions { + .btn-group { + white-space: nowrap; // prevent buttons from wrapping when in tight spaces (e.g., the table on the tests page) + > .btn { + float: inherit; + } + > .btn + .btn { + margin-left: -4px; + } + } + } } \ No newline at end of file