diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-02-09 13:45:17 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-02-09 13:45:17 +0000 |
| commit | 5afeb6f26f2e7eff3453bfb01b3d5d93763c2feb (patch) | |
| tree | d4c10f3968d6762224ca78edb0ba5d273887a0e4 | |
| parent | a0f0c6d5229b2405b65bff971f58b945731fb961 (diff) | |
fixes #3717
Closes #3717
Merge request studip/studip!2595
| -rw-r--r-- | resources/assets/stylesheets/less/buttons.less | 10 | ||||
| -rw-r--r-- | resources/assets/stylesheets/scss/buttons.scss | 10 |
2 files changed, 6 insertions, 14 deletions
diff --git a/resources/assets/stylesheets/less/buttons.less b/resources/assets/stylesheets/less/buttons.less index cf00969..11e6095 100644 --- a/resources/assets/stylesheets/less/buttons.less +++ b/resources/assets/stylesheets/less/buttons.less @@ -122,7 +122,8 @@ a.button, button.button { /* Grouped Buttons */ .button-group { - display: inline-block; + display: inline-flex; + gap: 5px; list-style: none; margin: 0 0.8em 0 0; padding: 0; @@ -130,13 +131,8 @@ a.button, button.button { button, .button { - float: left; - margin-left: 5px; + margin-left: 0; margin-right: 0; - - &:first-of-type { - margin-left: 0; - } } } diff --git a/resources/assets/stylesheets/scss/buttons.scss b/resources/assets/stylesheets/scss/buttons.scss index 57da837..b7235f7 100644 --- a/resources/assets/stylesheets/scss/buttons.scss +++ b/resources/assets/stylesheets/scss/buttons.scss @@ -122,7 +122,8 @@ button.button { /* Grouped Buttons */ .button-group { - display: inline-block; + display: inline-flex; + gap: 5px; list-style: none; margin: 0 0.8em 0 0; padding: 0; @@ -130,13 +131,8 @@ button.button { button, .button { - float: left; - margin-left: 5px; + margin-left: 0; margin-right: 0; - - &:first-of-type { - margin-left: 0; - } } } |
