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