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 {
|
.prospect-grid {
|
||||||
/* Default card width range. Override via a modifier class on ProspectGrid. */
|
|
||||||
--pc-min-width: 320px;
|
|
||||||
--pc-max-width: 320px;
|
|
||||||
|
|
||||||
display: grid;
|
display: grid;
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
grid-template-columns: repeat(auto-fit, minmax(var(--pc-min-width), 1fr));
|
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
|
||||||
justify-items: center;
|
justify-content: center;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
}
|
|
||||||
|
|
||||||
.prospect-grid > * {
|
|
||||||
width: 100%;
|
|
||||||
max-width: var(--pc-max-width);
|
|
||||||
}
|
}
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
<i class="fa-solid fa-sort"></i>
|
<i class="fa-solid fa-sort"></i>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Button Color="Color.Primary"
|
<Button Color="Color.Info"
|
||||||
Width="Width.Px(50)"
|
Width="Width.Px(50)"
|
||||||
Height="Height.Px(50)"
|
Height="Height.Px(50)"
|
||||||
title="Filtern"
|
title="Filtern"
|
||||||
|
|||||||
Reference in New Issue
Block a user