Skip to content

Commit

Permalink
Issue 249/grid fix (#268)
Browse files Browse the repository at this point in the history
* fix: adjusted and corrected grid template

* fix: adjusted and corrected grid template

* fix: adjusted and corrected grid template
  • Loading branch information
Felipeness authored Dec 13, 2023
1 parent 1a726fd commit 8ec51b8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/components/InputMedia/InputMedia.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '../../styles/global';
@use '~styles/global.scss';

.button,
.buttonSelected {
Expand Down Expand Up @@ -26,7 +26,7 @@
}

.buttonSelected {
width: 10.4rem;
width: 100%;
height: 10.4rem;

border: 2px solid global.$tertiaryPurple;
Expand Down
10 changes: 6 additions & 4 deletions src/components/MediaInputs/MediaInput.module.scss
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
@use '../../styles/global';
@use '~styles/global.scss';

.manyMediaContainer {
display: grid;
grid-template-columns: repeat(10, minmax(10.4rem, auto));
width: 100%;

display: grid;
grid-template-columns: repeat(auto-fit, minmax(auto, 9.7rem));
gap: 1.4rem;

align-items: center;
justify-content: start;

.imageGroup {
width: 10.4rem;
width: 11.2rem;

position: relative;

Expand Down

0 comments on commit 8ec51b8

Please sign in to comment.