Skip to content

Commit

Permalink
fix: sass warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpeterparker committed Sep 28, 2024
1 parent 63b7734 commit 69e7982
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 20 deletions.
10 changes: 5 additions & 5 deletions src/lib/components/canisters/CanisterType.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
flex-direction: column;
padding: 0.45rem 0 0;
:global(button) {
width: 100%;
height: 54px;
}
:global(div.inline) {
width: 100%;
margin: 0;
Expand All @@ -39,10 +44,5 @@
width: 320px;
}
}
:global(button) {
width: 100%;
height: 54px;
}
}
</style>
4 changes: 0 additions & 4 deletions src/lib/components/core/Welcome.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@
align-items: center;
flex-direction: column;
}
small {
vertical-align: middle;
font-size: var(--font-size-very-small);
}
p {
@media (min-width: 768px) {
Expand Down
8 changes: 4 additions & 4 deletions src/lib/components/ui/Modal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@
@include section.large;
height: calc(min(100vh, 796px) - 2.75rem);
@supports (-webkit-touch-callout: none) {
max-height: -webkit-fill-available;
}
@include shadow.strong;
overflow: hidden;
@supports (-webkit-touch-callout: none) {
max-height: -webkit-fill-available;
}
}
.flex {
Expand Down
6 changes: 3 additions & 3 deletions src/lib/themes/input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ select {

input,
textarea {
min-width: 100%;
max-width: 100%;

@media (min-width: 768px) {
min-width: 50%;
}

min-width: 100%;
max-width: 100%;
}

textarea {
Expand Down
9 changes: 5 additions & 4 deletions src/lib/themes/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@

--nav-height: 3.75rem;

@media (min-width: 768px) {
--nav-height: 5.45rem;
}

/** Colors */

--color-error: #ef476f;
Expand Down Expand Up @@ -52,4 +48,9 @@
--color-secondary-contrast-rgb: 0, 0, 0;
--color-secondary-shade: #71b5bd;
--color-secondary-tint: #8dd3db;

@media (min-width: 768px) {
--nav-height: 5.45rem;
}

}

0 comments on commit 69e7982

Please sign in to comment.