Skip to content

Commit

Permalink
arreglado css overflows y posicion barra de busqueda en utility
Browse files Browse the repository at this point in the history
  • Loading branch information
Sapo-san committed Aug 3, 2022
1 parent ccf9d3a commit 789633a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Utility/Cheatsheet/cheatsheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}

.cheatsheet {
overflow-y: scroll;
overflow-y: auto;
padding-right: 0.5em;
height: 100%;
width: calc(100% - 0.5em);
Expand Down
10 changes: 9 additions & 1 deletion src/components/Utility/utility.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@

.cheatsheet-selector {
border-radius: 1em;
width: calc(100% - 0.25em);
width: 60%;
margin-bottom: 0.5em;
height: 90px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: rgba(0, 0, 0, 0.653);
padding: 0.25em;
}
Expand All @@ -43,6 +45,8 @@
overflow-x: auto;
overflow-y: hidden;
white-space: nowrap;

width: 100%;
}

.avaible-cheatsheet-button {
Expand All @@ -68,6 +72,10 @@
}

@media only screen and (max-width: 900px) {
.cheatsheet-selector {
width: calc(100% - 0.25em);
}

.cheatsheets-search {
width: calc(100% - 2em);
}
Expand Down

0 comments on commit 789633a

Please sign in to comment.