From a2b7adb64ceceb83bcadd3d52dc9da145e8bacb3 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 1 Aug 2019 17:09:56 +0200 Subject: [PATCH] Fix hackish button stuff + responsiveness --- src/css/style.less | 18 ++++++++++++++++++ src/views/diagnosis/diagnosis_show.ms | 6 +++--- src/views/tools/tools_migrations.ms | 4 ++-- src/views/update/update.ms | 4 ++-- 4 files changed, 25 insertions(+), 7 deletions(-) diff --git a/src/css/style.less b/src/css/style.less index a665a1db..e2d846d8 100644 --- a/src/css/style.less +++ b/src/css/style.less @@ -811,6 +811,24 @@ input[type='radio'].nice-radio { } } +/* 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; + } +} + + + /* Just to be able to override list-group-item with alert-success's background and border colors */ .alert-success-yo { background-color: #dff0d8; diff --git a/src/views/diagnosis/diagnosis_show.ms b/src/views/diagnosis/diagnosis_show.ms index cc9663df..07d64cef 100644 --- a/src/views/diagnosis/diagnosis_show.ms +++ b/src/views/diagnosis/diagnosis_show.ms @@ -17,7 +17,7 @@ {{t 'rerun_diagnosis'}}
-