aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-02-03 22:33:28 +0100
committerRigel Kent <sendmemail@rigelk.eu>2020-02-13 16:34:16 +0100
commitece3029bd99a76b3c48a1cc8c58914c5cf61f106 (patch)
treeaaad61d1e4ba58896959307510098c7cd018b58b /client/src/sass
parent9677fca772349248925da6c5f34f600e9a2abbe6 (diff)
downloadPeerTube-ece3029bd99a76b3c48a1cc8c58914c5cf61f106.tar.gz
PeerTube-ece3029bd99a76b3c48a1cc8c58914c5cf61f106.tar.zst
PeerTube-ece3029bd99a76b3c48a1cc8c58914c5cf61f106.zip
Media queries to use variables when possible
Diffstat (limited to 'client/src/sass')
-rw-r--r--client/src/sass/application.scss2
-rw-r--r--client/src/sass/include/_miniature.scss2
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss
index 4ad14ea5b..6bf345789 100644
--- a/client/src/sass/application.scss
+++ b/client/src/sass/application.scss
@@ -167,7 +167,7 @@ label {
167 color: var(--mainForegroundColor); 167 color: var(--mainForegroundColor);
168 } 168 }
169 169
170 @media screen and (max-width: 500px) { 170 @media screen and (max-width: $mobile-view) {
171 margin-right: 15px; 171 margin-right: 15px;
172 } 172 }
173} 173}
diff --git a/client/src/sass/include/_miniature.scss b/client/src/sass/include/_miniature.scss
index b0e07d61a..c1d1b3c59 100644
--- a/client/src/sass/include/_miniature.scss
+++ b/client/src/sass/include/_miniature.scss
@@ -240,7 +240,7 @@ $play-overlay-width: 18px;
240 width: $video-miniature-width * 2; 240 width: $video-miniature-width * 2;
241 } 241 }
242 242
243 @media screen and (max-width: 500px) { 243 @media screen and (max-width: $mobile-view) {
244 width: auto; 244 width: auto;
245 margin: 0 !important; 245 margin: 0 !important;
246 246