From f0d0268ccb485749c4fd8f00050ee22b848d5edf Mon Sep 17 00:00:00 2001 From: Sergiotarxz Date: Tue, 22 Aug 2023 00:31:51 +0200 Subject: [PATCH] Fixing desktop styles for ads. --- public/css/styles.css | 8 +++++--- public/css/styles.scss | 5 ++++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/public/css/styles.css b/public/css/styles.css index 7863db2..a600a4a 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -248,8 +248,8 @@ body { body div.page-contents { top: 0%; left: 5%; - height: 100%; - width: 90%; } + height: 80%; + width: 100%; } body div.page-contents nav.mobile-foldable, body div.page-contents nav.mobile-foldable.show { display: none; } body div.page-contents div.description { @@ -263,7 +263,9 @@ body { body div.page-contents nav.desktop a img.index-image-menu { padding-top: 15px; } body div.page-contents nav.mobile-shortcuts { - display: none; } } + display: none; } + body div.page-contents.no-carousel { + height: 100%; } } @media (min-width: 1333px) { body div.page-contents div.description div.articles a { diff --git a/public/css/styles.scss b/public/css/styles.scss index 2e6d3a0..6e5342f 100644 --- a/public/css/styles.scss +++ b/public/css/styles.scss @@ -424,8 +424,11 @@ body { top: 0%; left: 5%; + height: 80%; + width: 100%; + } + div.page-contents.no-carousel { height: 100%; - width: 90%; } } }