Skip to content

Commit

Permalink
fixing store picker (with broken fingers)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabricius Seifert committed Jun 11, 2024
1 parent f0850aa commit 11a72ba
Showing 1 changed file with 36 additions and 13 deletions.
49 changes: 36 additions & 13 deletions src/explore/components/StorePicker.css
Original file line number Diff line number Diff line change
@@ -1,46 +1,69 @@
.e_StorePicker_control {
padding: 2rem;
margin: 0 0 0 -2rem;
display: flex;
flex-wrap: wrap;
gap: 1rem;
max-width: 500px;
}

.e_StorePicker_dialog::backdrop {
backdrop-filter: blur(2px);
}

.e_StorePicker_dialog {
overflow: visible;
border: none;
padding: 1rem 2rem;
max-height: unset;
max-height: 90vh;
border-radius: 1rem;
overflow: visible;
}

.e_StorePicker_wrapper {
display: block;
max-height: calc(90vh - 2rem);
max-width: 100%;
padding: 0 5px;
overflow: scroll;
}

.e_StorePicker_list {
@media (max-width: 499px) {
grid-template-columns: 1fr;
gap: 1rem;
}

@media (min-width: 500px) and (max-width: 999px) {
grid-template-columns: repeat(2, 1fr);
gap: 2rem;
}

@media (min-width: 1000px) {
grid-template-columns: repeat(4, 1fr);
gap: 3rem;
}

display: grid;
gap: 3rem;

list-style-type: none;
padding: 0;
grid-template-columns: repeat(2, 1fr);
}

.e_StorePicker_content {
position: relative;
}

.e_StorePicker_image {
display: block;
max-width: 200px;
width: auto;
width: 100%;
height: auto;
}

.e_StorePicker_address {
width: 200px;
margin: 1rem 0;
}

.e_StorePicker_control {
display: flex;
flex-wrap: wrap;
gap: 1rem;
max-width: 500px;
}

.e_StorePicker_selected {
display: flex;
flex-wrap: wrap;
Expand Down

0 comments on commit 11a72ba

Please sign in to comment.