diff options
author | Chocobozzz <me@florianbigard.com> | 2019-04-11 11:18:19 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-04-11 11:18:19 +0200 |
commit | 2c3abc4fa796555eb7d25f416c4f41ab3e3ad8ca (patch) | |
tree | c733bcda588f3de2288bdfab439da34c1fecca9b /client/src/sass | |
parent | 5d79474cc66383ecbfcef6366f63a34c3af21cbf (diff) | |
download | PeerTube-2c3abc4fa796555eb7d25f416c4f41ab3e3ad8ca.tar.gz PeerTube-2c3abc4fa796555eb7d25f416c4f41ab3e3ad8ca.tar.zst PeerTube-2c3abc4fa796555eb7d25f416c4f41ab3e3ad8ca.zip |
Fix my account settings responsive
Diffstat (limited to 'client/src/sass')
-rw-r--r-- | client/src/sass/application.scss | 4 | ||||
-rw-r--r-- | client/src/sass/include/_mixins.scss | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index 28b466c01..d84766240 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss | |||
@@ -147,7 +147,7 @@ label { | |||
147 | } | 147 | } |
148 | 148 | ||
149 | @media screen and (max-width: 500px) { | 149 | @media screen and (max-width: 500px) { |
150 | margin-right: 20px; | 150 | margin-right: 15px; |
151 | } | 151 | } |
152 | } | 152 | } |
153 | 153 | ||
@@ -382,6 +382,8 @@ table { | |||
382 | } | 382 | } |
383 | 383 | ||
384 | .sub-menu { | 384 | .sub-menu { |
385 | width: 100vw; | ||
386 | overflow-x: auto; | ||
385 | padding-left: 15px; | 387 | padding-left: 15px; |
386 | padding-right: 15px; | 388 | padding-right: 15px; |
387 | margin-bottom: 10px; | 389 | margin-bottom: 10px; |
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss index 9c3f28b28..262a8136f 100644 --- a/client/src/sass/include/_mixins.scss +++ b/client/src/sass/include/_mixins.scss | |||
@@ -235,6 +235,10 @@ | |||
235 | position: relative; | 235 | position: relative; |
236 | font-size: 15px; | 236 | font-size: 15px; |
237 | 237 | ||
238 | @media screen and (max-width: $width) { | ||
239 | width: 100%; | ||
240 | } | ||
241 | |||
238 | &:after { | 242 | &:after { |
239 | top: 50%; | 243 | top: 50%; |
240 | right: calc(0% + 15px); | 244 | right: calc(0% + 15px); |