Refactor ProspectGrid styles: update card width variables and adjust grid layout for improved responsiveness
All checks were successful
Build And Push Dev Docker Image / docker (push) Successful in 1m26s
All checks were successful
Build And Push Dev Docker Image / docker (push) Successful in 1m26s
This commit is contained in:
@@ -1,12 +1,17 @@
|
||||
.prospect-grid {
|
||||
/* Default card width range. Override via a modifier class on ProspectGrid. */
|
||||
--pc-min-width: 200px;
|
||||
--pc-max-width: 350px;
|
||||
--pc-min-width: 320px;
|
||||
--pc-max-width: 320px;
|
||||
|
||||
display: grid;
|
||||
gap: 1rem;
|
||||
width: 100%;
|
||||
grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--pc-min-width)), var(--pc-max-width)));
|
||||
justify-content: center;
|
||||
grid-template-columns: repeat(auto-fit, minmax(var(--pc-min-width), 1fr));
|
||||
justify-items: center;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.prospect-grid > * {
|
||||
width: 100%;
|
||||
max-width: var(--pc-max-width);
|
||||
}
|
||||
Reference in New Issue
Block a user