ActivityPub-federated video streaming platform using P2P directly in your web browser
Media queries to use variables when possible
Rigel Kentece3029bd99a
diff --git a/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss b/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scssindex 20582e478a..db0c7f94fa 100644--- a/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss+++ b/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss@@ -58,7 +58,7 @@margin: 20px 0 50px;}-@media screen and (max-width: 800px) {+@media screen and (max-width: $small-view) {.video-channels-header {text-align: center;}diff --git a/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.scss b/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.scssindex 4e4156b22c..aed3302ba4 100644--- a/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.scss+++ b/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.scss@@ -43,7 +43,7 @@}}-@media screen and (max-width: 800px) {+@media screen and (max-width: $small-view) {.video-playlists-header {text-align: center;}diff --git a/client/src/app/+signup/+register/register.component.scss b/client/src/app/+signup/+register/register.component.scssindex 2f62dd59db..e135b5cb43 100644--- a/client/src/app/+signup/+register/register.component.scss+++ b/client/src/app/+signup/+register/register.component.scss@@ -44,7 +44,7 @@}}- @media screen and (max-width: 500px) {+ @media screen and (max-width: $mobile-view) {width: auto;}}diff --git a/client/src/app/app.component.scss b/client/src/app/app.component.scssindex 7a6710829e..a7be8e1afa 100644--- a/client/src/app/app.component.scss+++ b/client/src/app/app.component.scss@@ -61,7 +61,7 @@}}- @media screen and (max-width: 500px) {+ @media screen and (max-width: $mobile-view) {width: 70px;.peertube-title {diff --git a/client/src/app/core/hotkeys/hotkeys.component.scss b/client/src/app/core/hotkeys/hotkeys.component.scssindex 02c8c59aa7..a970260c92 100644--- a/client/src/app/core/hotkeys/hotkeys.component.scss+++ b/client/src/app/core/hotkeys/hotkeys.component.scss@@ -1,3 +1,4 @@+@import '_variables';@import '_mixins';.cfp-hotkeys-container {@@ -93,7 +94,7 @@cursor: pointer;}-@media all and (max-width: 500px) {+@media all and (max-width: $mobile-view) {.cfp-hotkeys {font-size: 0.8em;}diff --git a/client/src/sass/application.scss b/client/src/sass/application.scssindex 4ad14ea5bc..6bf3457895 100644--- a/client/src/sass/application.scss+++ b/client/src/sass/application.scss@@ -167,7 +167,7 @@ label {color: var(--mainForegroundColor);}- @media screen and (max-width: 500px) {+ @media screen and (max-width: $mobile-view) {margin-right: 15px;}}diff --git a/client/src/sass/include/_miniature.scss b/client/src/sass/include/_miniature.scssindex b0e07d61a1..c1d1b3c590 100644--- a/client/src/sass/include/_miniature.scss+++ b/client/src/sass/include/_miniature.scss@@ -240,7 +240,7 @@ $play-overlay-width: 18px;width: $video-miniature-width * 2;}- @media screen and (max-width: 500px) {+ @media screen and (max-width: $mobile-view) {width: auto;margin: 0 !important;