diff options
author | Chocobozzz <me@florianbigard.com> | 2022-07-18 15:01:47 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-07-18 15:01:47 +0200 |
commit | ace01da3480e0de943cb028f9541790e0a015eb4 (patch) | |
tree | bcbbcf41c890a20fa6bb8115df09cf1f370b5a67 /client/src/app | |
parent | 58c44687f748a3ea5feafe6335fe962aea8186bd (diff) | |
download | PeerTube-ace01da3480e0de943cb028f9541790e0a015eb4.tar.gz PeerTube-ace01da3480e0de943cb028f9541790e0a015eb4.tar.zst PeerTube-ace01da3480e0de943cb028f9541790e0a015eb4.zip |
Fix z-index with custom homepage
Diffstat (limited to 'client/src/app')
-rw-r--r-- | client/src/app/app.component.html | 4 | ||||
-rw-r--r-- | client/src/app/app.component.scss | 4 | ||||
-rw-r--r-- | client/src/app/shared/shared-forms/markdown-textarea.component.scss | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/client/src/app/app.component.html b/client/src/app/app.component.html index 629c04e6b..6a833b039 100644 --- a/client/src/app/app.component.html +++ b/client/src/app/app.component.html | |||
@@ -3,7 +3,7 @@ | |||
3 | <my-hotkeys-cheatsheet></my-hotkeys-cheatsheet> | 3 | <my-hotkeys-cheatsheet></my-hotkeys-cheatsheet> |
4 | 4 | ||
5 | <div class="peertube-container" [ngClass]="{ 'user-logged-in': isUserLoggedIn(), 'user-not-logged-in': !isUserLoggedIn() }"> | 5 | <div class="peertube-container" [ngClass]="{ 'user-logged-in': isUserLoggedIn(), 'user-not-logged-in': !isUserLoggedIn() }"> |
6 | <div class="header"> | 6 | <div class="root-header"> |
7 | 7 | ||
8 | <div class="top-left-block"> | 8 | <div class="top-left-block"> |
9 | <span class="icon icon-menu" role="button" [title]="getToggleTitle()" (click)="menu.toggleMenu()"></span> | 9 | <span class="icon icon-menu" role="button" [title]="getToggleTitle()" (click)="menu.toggleMenu()"></span> |
@@ -14,7 +14,7 @@ | |||
14 | </a> | 14 | </a> |
15 | </div> | 15 | </div> |
16 | 16 | ||
17 | <div class="header-right"> | 17 | <div class="root-header-right"> |
18 | <my-header class="w-100 d-flex justify-content-end"></my-header> | 18 | <my-header class="w-100 d-flex justify-content-end"></my-header> |
19 | </div> | 19 | </div> |
20 | </div> | 20 | </div> |
diff --git a/client/src/app/app.component.scss b/client/src/app/app.component.scss index 31e9987c6..229a99a2d 100644 --- a/client/src/app/app.component.scss +++ b/client/src/app/app.component.scss | |||
@@ -15,7 +15,7 @@ | |||
15 | width: 100%; | 15 | width: 100%; |
16 | } | 16 | } |
17 | 17 | ||
18 | .header { | 18 | .root-header { |
19 | height: $header-height; | 19 | height: $header-height; |
20 | position: fixed; | 20 | position: fixed; |
21 | top: 0; | 21 | top: 0; |
@@ -49,7 +49,7 @@ | |||
49 | } | 49 | } |
50 | } | 50 | } |
51 | 51 | ||
52 | .header-right { | 52 | .root-header-right { |
53 | height: $header-height; | 53 | height: $header-height; |
54 | display: flex; | 54 | display: flex; |
55 | align-items: center; | 55 | align-items: center; |
diff --git a/client/src/app/shared/shared-forms/markdown-textarea.component.scss b/client/src/app/shared/shared-forms/markdown-textarea.component.scss index bbb266448..f4b74a2d4 100644 --- a/client/src/app/shared/shared-forms/markdown-textarea.component.scss +++ b/client/src/app/shared/shared-forms/markdown-textarea.component.scss | |||
@@ -80,7 +80,7 @@ $input-border-radius: 3px; | |||
80 | } | 80 | } |
81 | 81 | ||
82 | &.maximized { | 82 | &.maximized { |
83 | z-index: #{z(header) - 1}; | 83 | z-index: #{z(root-header) - 1}; |
84 | position: fixed; | 84 | position: fixed; |
85 | top: $header-height; | 85 | top: $header-height; |
86 | left: $menu-width; | 86 | left: $menu-width; |