Fixed highlight 100vw

This commit is contained in:
CommanderRedYT
2020-12-01 11:56:11 +01:00
parent bc9a43abe1
commit 48f5513706
2 changed files with 4 additions and 2 deletions

View File

@@ -9,13 +9,15 @@
body {
transition: background 0.4s cubic-bezier(.86,0,.07,1), color 0.4s cubic-bezier(.86,0,.07,1);
background-color: #fff;
padding-right: 10px;
}
div.highlight {
background-color: rgba(165, 165, 165, 0.372);
width: 101.65%;
margin-left: -15px;
margin-right: -15px;
width: 100vw;
}
nav {

View File

@@ -21,5 +21,5 @@
<link rel="icon" href="./img/favicon.png" />
</head>
<body class="couldDark <?php if($_COOKIE["darkmode"] == "true") echo "darkMode"; ?>">
<body style="width: 100vw !important; overflow-x: hidden !important;" class="couldDark <?php if($_COOKIE["darkmode"] == "true") echo "darkMode"; ?>">
<?php require('navbar.php') ?>