Skip to content

Commit

Permalink
Aplicano correção no scroll x pela terceira vez
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge-Marcelo committed Sep 28, 2023
1 parent 57502d5 commit d0a4c32
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 3 additions & 2 deletions assets/css/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ background-color: rgb(0, 0, 0);
transition: 0.6s;
z-index: 100000000;
height: 0px;
visibility: hidden; /*Escondendo o menu caso a classe não esteja atica*/
overflow-y: hidden; /*Escondendo o scroll vertical caso a classe não esteja ativa*/
visibility: hidden;
overflow-y: hidden;
overflow-x: hidden;
}

/*Classe active para para fazer os itens do menu descerem */
Expand Down
5 changes: 1 addition & 4 deletions assets/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ margin: 0;
padding: 0;
box-sizing: border-box;
transition: all 0.3s ease-in;
overflow-x: none;
}

/*Corpo da pagina e logo e remoção do scrool do eixo x*/
Expand All @@ -28,13 +29,9 @@ background-color: rgb(29, 0, 0);
overflow-x: scroll;
scrollbar-width: none;
-ms-overflow-style: none;
overflow-x: hidden;
overflow-x: none;
}
body::-webkit-scrollbar {
display: none;
overflow-x: hidden;
overflow-x: none;
}

.logo {
Expand Down

0 comments on commit d0a4c32

Please sign in to comment.