From 48f55137064b53681aedebdba25b00e0bd4f0d87 Mon Sep 17 00:00:00 2001 From: CommanderRedYT Date: Tue, 1 Dec 2020 11:56:11 +0100 Subject: [PATCH] Fixed highlight 100vw --- css/style.css | 4 +++- includes/header.php | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/css/style.css b/css/style.css index 7d44b8a..34c12b1 100644 --- a/css/style.css +++ b/css/style.css @@ -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 { diff --git a/includes/header.php b/includes/header.php index dc5ce5a..79c6de7 100644 --- a/includes/header.php +++ b/includes/header.php @@ -21,5 +21,5 @@ - "> + ">