From bc335f66174b46f4f2d8e3b4cd1ef88ec3d3ac6f Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 10 Sep 2019 16:16:05 +0200 Subject: [PATCH] Fix inline buttons responsiveness --- src/css/style.less | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/css/style.less b/src/css/style.less index 201309b9..5bc11ee1 100644 --- a/src/css/style.less +++ b/src/css/style.less @@ -810,3 +810,19 @@ input[type='radio'].nice-radio { margin: 1%; } } + +/* Inline button in panel headers or in list group items */ + +.list-group-item > .btn.pull-right { + line-height: 1em; + margin-top: -2px; +} + +@media screen and (max-width: @screen-xs-min) { + .btn.pull-right, .btn-toolbar.pull-right, .btn-toolbar.pull-right > .btn { + margin: 0; + margin-top: 5px; + display: block; + float: none !important; + } +}