From b7fec306ad9ef0516fd4baf88b599a72a8cd5ca9 Mon Sep 17 00:00:00 2001 From: asal sahami <asalsahami22@gmail.com> Date: Thu, 12 Sep 2024 11:25:37 +0200 Subject: [PATCH] phone --- src/App/mediarules.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/App/mediarules.css b/src/App/mediarules.css index 1317257a..a25e810b 100644 --- a/src/App/mediarules.css +++ b/src/App/mediarules.css @@ -149,6 +149,14 @@ h2, h3 { body { padding: 10px !important; + width: 100%; + overflow-x: hidden; /* Prevents horizontal scrolling */ + margin: 0; + padding: 0; + background-size: cover; /* Ensures the background scales to cover the entire screen */ + background-position: center; /* Keeps the background centered */ + background-repeat: no-repeat; +} } .img-half{ @@ -161,7 +169,7 @@ body { .row{ display: grid !important; } -} + /*For small Smartphones*/ @media screen and (max-width: 750px){ -- GitLab