Fixing The Overflow Issue

Changed default attribute in html from overflow being shown to hidden.
This commit is contained in:
a-box31
2022-12-23 05:06:22 -05:00
parent ade281602f
commit 6de8db0780
3 changed files with 34 additions and 17 deletions
+23 -8
View File
@@ -10,6 +10,7 @@ html {
height:100%;
margin:0;
padding:0;
overflow-x: hidden;
}
body {
@@ -24,7 +25,8 @@ body {
/* Better Scroll Bar */
body::-webkit-scrollbar {
width: .5rem
width: .7rem;
height: .7rem;
}
body::-webkit-scrollbar-track{
@@ -39,6 +41,7 @@ body::-webkit-scrollbar-thumb {
/* header portion */
.main-header {
margin: 0 auto;
@@ -56,28 +59,23 @@ header{
}
.brand-name {
/* class for band name: should be centered wherever it is */
text-align: center;
/* heading elements like h1 all have margins: let the margins be 0 */
margin: 0;
font-size: 1em;
/* changing the everything tag's font set on the heading to be different */
font-family: Rajdhani, sans-serif, poppins;
/*
Since heading are by default bolded, the font-weight can be changed to
normalize the bolded text
*/
font-weight: normal;
/* All band names should be white */
color: white;
}
.band-name-large {
font-size: 2em;
}
@@ -127,7 +125,7 @@ header{
}
@media (max-width: 1350px){
@media (max-width: 800px){
.toggle-button {
display: flex;
}
@@ -158,6 +156,23 @@ header{
.navbar-links.active {
display: flex;
}
.brand-name {
/* class for band name: should be centered wherever it is */
text-align: center;
/* heading elements like h1 all have margins: let the margins be 0 */
margin: 0;
font-size: .8em;
/* changing the everything tag's font set on the heading to be different */
font-family: Rajdhani, sans-serif, poppins;
/*
Since heading are by default bolded, the font-weight can be changed to
normalize the bolded text
*/
font-weight: normal;
/* All band names should be white */
color: white;
}
}