diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2025-08-20 15:45:58 +0200 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2025-09-01 16:42:08 +0200 |
| commit | 7e887e77867c9506f27961973115a71ce3de869f (patch) | |
| tree | 9d41699796bd3673858c1f7ce6d12b84e906307a /resources | |
| parent | 0251822dfd1e9e59fb300461a69b5760523e673f (diff) | |
remove zoom css property and renew clearfix mixin, fixes #5834
Closes #5834
Merge request studip/studip!4448
Diffstat (limited to 'resources')
| -rw-r--r-- | resources/assets/stylesheets/less/messagebox.less | 2 | ||||
| -rw-r--r-- | resources/assets/stylesheets/mixins/misc.scss | 11 |
2 files changed, 2 insertions, 11 deletions
diff --git a/resources/assets/stylesheets/less/messagebox.less b/resources/assets/stylesheets/less/messagebox.less index ce29b28..fce3a76f 100644 --- a/resources/assets/stylesheets/less/messagebox.less +++ b/resources/assets/stylesheets/less/messagebox.less @@ -96,7 +96,6 @@ div.messagebox_details { .messagebox { display: inline-block; - zoom: 1; // IE :( box-sizing: border-box; // position: relative; vertical-align: middle; @@ -127,7 +126,6 @@ div.messagebox_details { } .ui-dialog { display: inline-block; - zoom: 1; // IE :( box-sizing: border-box; position: relative; vertical-align: middle; diff --git a/resources/assets/stylesheets/mixins/misc.scss b/resources/assets/stylesheets/mixins/misc.scss index cea4511..e4fd13e 100644 --- a/resources/assets/stylesheets/mixins/misc.scss +++ b/resources/assets/stylesheets/mixins/misc.scss @@ -2,17 +2,10 @@ // -------- // For clearing floats like a boss h5bp.com/q @mixin clearfix { - *zoom: 1; - &::before, - &::after { - display: table; - content: ""; - // Fixes Opera/contenteditable bug: - // http://nicolasgallagher.com/micro-clearfix-hack/#comment-36952 - line-height: 0; - } &::after { clear: both; + content: ''; + display: block; } } |
