Skip to content

Commit

Permalink
refactor: adjust input media aesthetics details (#599)
Browse files Browse the repository at this point in the history
* refactor: adjust input media aesthetics details

* refactor: adjust input media min size & hover

---------

Co-authored-by: juliaM <[email protected]>
  • Loading branch information
JpBurgarelli and juliaam authored Aug 29, 2024
1 parent 9340af5 commit 45ba097
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
width: 100%;

display: grid;
grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
gap: 1.4rem;

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

.imageGroup {
Expand All @@ -31,6 +31,7 @@

.removeButton {
width: 2.2rem;
height: 2.2rem;

color: global.$tertiaryPurple;
text-align: center;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,24 @@

.button,
.buttonSelected {
height: 100%;
overflow: hidden;

display: flex;

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

padding: 5.2rem;

position: relative;

transition: color 0.3s ease;

cursor: pointer;

&:hover {
background-color: global.$hovering;
background-color: global.$pressing;
}
}

Expand All @@ -34,6 +39,10 @@

.imagePlaceholder,
.imageSelected {
max-width: 100%;
max-height: 100%;

position: absolute;
object-fit: cover;
}

Expand Down

0 comments on commit 45ba097

Please sign in to comment.