diff options
| author | Thomas Hackl <hackl@data-quest.de> | 2025-03-21 07:43:05 +0000 |
|---|---|---|
| committer | Thomas Hackl <hackl@data-quest.de> | 2025-03-21 08:44:08 +0100 |
| commit | a2518fafa65c2ebc2f26f6973dcaa85bc317499e (patch) | |
| tree | f23d95a5445112a5ce153360fbdbc8f2ab79bf38 | |
| parent | 4fe7cb8708a1f52cd6eb956dda3e9807ca8c6780 (diff) | |
Resolve "CotentBar 2: Kompakte Ansicht springt noch beim Scrollen"
Closes #5338
Merge request studip/studip!4041
| -rw-r--r-- | resources/assets/stylesheets/scss/contentbar.scss | 1 | ||||
| -rw-r--r-- | resources/assets/stylesheets/scss/responsive.scss | 11 |
2 files changed, 9 insertions, 3 deletions
diff --git a/resources/assets/stylesheets/scss/contentbar.scss b/resources/assets/stylesheets/scss/contentbar.scss index b38d316..b582ec5 100644 --- a/resources/assets/stylesheets/scss/contentbar.scss +++ b/resources/assets/stylesheets/scss/contentbar.scss @@ -90,7 +90,6 @@ } .contentbar-button, .cw-ribbon-button { - background-color: transparent; background-position: center; background-repeat: no-repeat; background-size: 24px; diff --git a/resources/assets/stylesheets/scss/responsive.scss b/resources/assets/stylesheets/scss/responsive.scss index 07bf017..3642003 100644 --- a/resources/assets/stylesheets/scss/responsive.scss +++ b/resources/assets/stylesheets/scss/responsive.scss @@ -418,8 +418,8 @@ $sidebarOut: -330px; } #toc { - margin-right: -14px; - margin-top: -3px; + right: 5px; + top: -11px; } #main-footer { @@ -455,6 +455,7 @@ $sidebarOut: -330px; } #responsive-contentbar { + &.cw-ribbon, &.cw-ribbon-sticky { position: unset; width: unset; @@ -589,6 +590,12 @@ $sidebarOut: -330px; #responsive-contentbar { padding-left: 15px; + &.cw-ribbon-sticky { + position: unset; + top: unset; + width: unset; + } + .contentbar-nav, .cw-ribbon-nav { margin-left: -6px; |
