diff options
author | Chocobozzz <me@florianbigard.com> | 2018-09-05 11:20:44 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-09-05 11:20:44 +0200 |
commit | 8ff3f88347cb733ca8a3978ba6eb9763fb3ea294 (patch) | |
tree | a8711905f240a8e511659b45d537e780f684e7f1 /client/src/sass | |
parent | 46ae6f67249dea59176488ad1775f80109b8b8db (diff) | |
download | PeerTube-8ff3f88347cb733ca8a3978ba6eb9763fb3ea294.tar.gz PeerTube-8ff3f88347cb733ca8a3978ba6eb9763fb3ea294.tar.zst PeerTube-8ff3f88347cb733ca8a3978ba6eb9763fb3ea294.zip |
Fix watch page responsive
Diffstat (limited to 'client/src/sass')
-rw-r--r-- | client/src/sass/application.scss | 4 | ||||
-rw-r--r-- | client/src/sass/include/_variables.scss | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index c380fe5bf..fd0d5e458 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss | |||
@@ -307,7 +307,7 @@ table { | |||
307 | font-weight: $font-semibold; | 307 | font-weight: $font-semibold; |
308 | } | 308 | } |
309 | 309 | ||
310 | @media screen and (max-width: 1000px) { | 310 | @media screen and (max-width: 1200px) { |
311 | .main-col { | 311 | .main-col { |
312 | &.expanded { | 312 | &.expanded { |
313 | .margin-content { | 313 | .margin-content { |
@@ -337,7 +337,7 @@ table { | |||
337 | } | 337 | } |
338 | } | 338 | } |
339 | 339 | ||
340 | @media screen and (max-width: 600px) { | 340 | @media screen and (max-width: $small-view) { |
341 | .main-col { | 341 | .main-col { |
342 | margin-left: 0; | 342 | margin-left: 0; |
343 | 343 | ||
diff --git a/client/src/sass/include/_variables.scss b/client/src/sass/include/_variables.scss index 792a3f9c2..fb253fc1f 100644 --- a/client/src/sass/include/_variables.scss +++ b/client/src/sass/include/_variables.scss | |||
@@ -1,3 +1,6 @@ | |||
1 | $small-view: 800px; | ||
2 | $mobile-view: 500px; | ||
3 | |||
1 | $main-fonts: 'Source Sans Pro', sans-serif; | 4 | $main-fonts: 'Source Sans Pro', sans-serif; |
2 | $font-regular: 400; | 5 | $font-regular: 400; |
3 | $font-semibold: 600; | 6 | $font-semibold: 600; |