diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-05-01 23:24:05 +0200 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-05-01 23:24:05 +0200 |
commit | c2a89b70ce75c4955cbdb1ced6fd20a5010a8c9b (patch) | |
tree | 9b835f17d1da4a7a4d066b8e48fc476c732759a8 /client/src/sass/primeng-custom.scss | |
parent | d392608090a88a402f98f57cb60872dfd3506fd4 (diff) | |
download | PeerTube-c2a89b70ce75c4955cbdb1ced6fd20a5010a8c9b.tar.gz PeerTube-c2a89b70ce75c4955cbdb1ced6fd20a5010a8c9b.tar.zst PeerTube-c2a89b70ce75c4955cbdb1ced6fd20a5010a8c9b.zip |
Fix margin-content and miniature thumbnail width on mobile, fix media queries for tables above lg breakpoint
Diffstat (limited to 'client/src/sass/primeng-custom.scss')
-rw-r--r-- | client/src/sass/primeng-custom.scss | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/client/src/sass/primeng-custom.scss b/client/src/sass/primeng-custom.scss index 9c9a6197d..b3cd7cf51 100644 --- a/client/src/sass/primeng-custom.scss +++ b/client/src/sass/primeng-custom.scss | |||
@@ -283,7 +283,7 @@ p-table { | |||
283 | } | 283 | } |
284 | 284 | ||
285 | // overflow data table | 285 | // overflow data table |
286 | @mixin overflow-datatable ($table-min-width, $horizontal-margins) { | 286 | @mixin overflow-datatable ($table-min-width, $horizontal-margins, $mobile-paginator: true) { |
287 | p-table { | 287 | p-table { |
288 | .ui-table-wrapper { | 288 | .ui-table-wrapper { |
289 | overflow-x: auto; | 289 | overflow-x: auto; |
@@ -294,16 +294,18 @@ p-table { | |||
294 | } | 294 | } |
295 | } | 295 | } |
296 | 296 | ||
297 | p-paginator .ui-paginator-bottom { | 297 | @if $mobile-paginator { |
298 | display: block; | 298 | p-paginator .ui-paginator-bottom { |
299 | |||
300 | .ui-paginator-current { | ||
301 | position: relative; | ||
302 | display: block; | 299 | display: block; |
303 | } | 300 | |
304 | 301 | .ui-paginator-current { | |
305 | a, .ui-paginator-pages { | 302 | position: relative; |
306 | vertical-align: middle; | 303 | display: block; |
304 | } | ||
305 | |||
306 | a, .ui-paginator-pages { | ||
307 | vertical-align: middle; | ||
308 | } | ||
307 | } | 309 | } |
308 | } | 310 | } |
309 | } | 311 | } |