diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-04-23 22:13:58 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-04-26 21:23:19 +0200 |
commit | efbf0ed7f2a5d01fbcacc26dae1ff254c46b0ce5 (patch) | |
tree | 9c3749da7bb471ca4ac4e4b256e1863f200e3eb7 /client/src/sass | |
parent | 8ce9e815c8212647d702b94ca8633943d1aa663a (diff) | |
download | PeerTube-efbf0ed7f2a5d01fbcacc26dae1ff254c46b0ce5.tar.gz PeerTube-efbf0ed7f2a5d01fbcacc26dae1ff254c46b0ce5.tar.zst PeerTube-efbf0ed7f2a5d01fbcacc26dae1ff254c46b0ce5.zip |
Client: adjust viewport height
Diffstat (limited to 'client/src/sass')
-rw-r--r-- | client/src/sass/_variables.scss | 3 | ||||
-rw-r--r-- | client/src/sass/application.scss | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/client/src/sass/_variables.scss b/client/src/sass/_variables.scss index 5c06fae9d..f0ffb43ba 100644 --- a/client/src/sass/_variables.scss +++ b/client/src/sass/_variables.scss | |||
@@ -9,6 +9,9 @@ $menu-color-block: #686f77; | |||
9 | $header-height: 65px; | 9 | $header-height: 65px; |
10 | $header-border-color: #e9eff6; | 10 | $header-border-color: #e9eff6; |
11 | 11 | ||
12 | $footer-height: 30px; | ||
13 | $footer-margin: 30px; | ||
14 | |||
12 | $footer-border-color: $header-border-color; | 15 | $footer-border-color: $header-border-color; |
13 | 16 | ||
14 | $video-miniature-other-infos: #686767; | 17 | $video-miniature-other-infos: #686767; |
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index c0b40445e..b446dde2a 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss | |||
@@ -40,6 +40,10 @@ input.readonly { | |||
40 | position: fixed; | 40 | position: fixed; |
41 | } | 41 | } |
42 | 42 | ||
43 | .main-row { | ||
44 | min-height: calc(100vh - #{$header-height} - #{$footer-height} - #{$footer-margin}); | ||
45 | } | ||
46 | |||
43 | .main-col { | 47 | .main-col { |
44 | 48 | ||
45 | .content-padding { | 49 | .content-padding { |