aboutsummaryrefslogtreecommitdiffstats
path: root/core/css/styles.scss
diff options
context:
space:
mode:
Diffstat (limited to 'core/css/styles.scss')
-rw-r--r--core/css/styles.scss6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/css/styles.scss b/core/css/styles.scss
index bd7e747169b..f1130979134 100644
--- a/core/css/styles.scss
+++ b/core/css/styles.scss
@@ -13,6 +13,7 @@
* @license GNU AGPL version 3 or any later version
*
*/
+@use 'variables';
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, nav, section {
margin: 0;
@@ -179,7 +180,8 @@ body {
#controls {
box-sizing: border-box;
- @include position('sticky');
+ position: -webkit-sticky;
+ position: sticky;
height: 44px;
padding: 0;
margin: 0;
@@ -190,7 +192,7 @@ body {
-ms-user-select: none;
user-select: none;
display: flex;
- top: $header-height;
+ top: variables.$header-height;
}
/* position controls for apps with app-navigation */