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:41:54 +0200 |
| commit | be1cb58b5b4c83ca239102e7bfb5a2a3391540e1 (patch) | |
| tree | 24cf50063cf3a2dab90c6bdba9f7d0f8bc49f524 /resources | |
| parent | 9b0e109075f050bc5874ae99edc0d75692b0125d (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/mixins/misc.scss | 11 | ||||
| -rw-r--r-- | resources/assets/stylesheets/scss/messagebox.scss | 2 |
2 files changed, 2 insertions, 11 deletions
diff --git a/resources/assets/stylesheets/mixins/misc.scss b/resources/assets/stylesheets/mixins/misc.scss index 1fe9d08..9b8f484 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; } } diff --git a/resources/assets/stylesheets/scss/messagebox.scss b/resources/assets/stylesheets/scss/messagebox.scss index 336eb0d..4c0c0c1 100644 --- a/resources/assets/stylesheets/scss/messagebox.scss +++ b/resources/assets/stylesheets/scss/messagebox.scss @@ -96,7 +96,6 @@ section.contentbox { .messagebox { display: inline-block; - zoom: 1; // IE :( box-sizing: border-box; // position: relative; vertical-align: middle; @@ -127,7 +126,6 @@ section.contentbox { } .ui-dialog { display: inline-block; - zoom: 1; // IE :( box-sizing: border-box; position: relative; vertical-align: middle; |
