Skip to content

Commit

Permalink
Commit
Browse files Browse the repository at this point in the history
Small fixxes
  • Loading branch information
Jodekq committed Feb 16, 2024
1 parent cc6aac6 commit 3db87b2
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 8 deletions.
36 changes: 28 additions & 8 deletions src/client/fridge/_styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,8 @@
.fridge-nav {
width: 15%;
min-width: 107px;
max-width: 150px;
height: fit-content;

padding: var(--small-gap);

Expand Down Expand Up @@ -294,13 +296,10 @@

gap: 3px;

@media (max-width: 845px) {
font-size: 14px;
}
@media (max-width: 745px) {
@media (max-width: 1050px) {
font-size: 12px;
}
@media (max-width: 645px) {
@media (max-width: 915px) {
font-size: 10px;
}

Expand All @@ -310,9 +309,13 @@
}

.add-item-wrapper {
margin-top: var(--big-gap);
margin: var(--gap) 0;
display: flex;
justify-content: center;

@media (max-width: 1050px) {
font-size: 12px;
}
}

.selected {
Expand Down Expand Up @@ -345,7 +348,7 @@
flex-direction: column;
width: 100%;

padding-top: var(--gap);
padding: var(--gap);
padding-bottom: 150px;

gap: var(--gap);
Expand All @@ -356,7 +359,7 @@

.fridge-content-container {
height: fit-content;
width: 90%;
width: 100%;

display: flex;
flex-direction: column;
Expand Down Expand Up @@ -384,6 +387,23 @@
.bx {
font-size: 22px;
}

@media (max-width: 1050px) {

.bx {
font-size: 16px;
}

.material-symbols-rounded {
font-size: 18px;
}
}

h5 {
@media (max-width: 1050px) {
font-size: 14px;
}
}
}

.fridge-content {
Expand Down
1 change: 1 addition & 0 deletions src/client/saveplates/_src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ changeGridButton?.addEventListener("click", () => {

items.forEach((element: HTMLElement) => {
element.style.maxWidth = "225px"
element.style.width = "fit-content";
});
});

Expand Down

0 comments on commit 3db87b2

Please sign in to comment.