Skip to content

Commit

Permalink
grid
Browse files Browse the repository at this point in the history
  • Loading branch information
SquareScreamYT committed Aug 30, 2024
1 parent 5591684 commit 35018b8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,17 @@ h1, p {
transition: background-color 0.3s ease;
box-sizing: border-box;
margin-bottom: 5px;
margin-right: 20px;
display: grid;
grid-template-columns: repeat(10, 1fr);
grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
gap: 5px;
-ms-overflow-style: none;
scrollbar-width: none;
height: fit-content;
width: calc(100% - 20px);
max-width: calc(100% - 20px);
overflow-x: visible;
padding-right: 5px;
}

.emoji-button {
Expand All @@ -53,13 +58,16 @@ h1, p {
aspect-ratio: 1 / 1;
margin: 5px;
box-sizing: border-box;
padding: 5px;
background-color: #f8f9fa;
color: #343a40;
border-radius: 5px;
font-size: 16px;
transition: background-color 0.3s ease;
cursor: pointer;
border: 2px solid #ced4da;
height: 100px;
height: 120px;
}

.emoji-button img {
Expand Down

0 comments on commit 35018b8

Please sign in to comment.