feat(BOOK-768): Added UspCard component with stories and implemented it in blocks
Approved-by: Bianca Widstam
This commit is contained in:
@@ -3,17 +3,12 @@
|
||||
gap: var(--Space-x3);
|
||||
}
|
||||
|
||||
.usp {
|
||||
display: grid;
|
||||
gap: var(--Space-x3);
|
||||
align-content: start;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 768px) {
|
||||
.grid {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
.grid:has(.usp:nth-child(3)):not(:has(.usp:nth-child(4))) {
|
||||
|
||||
.grid:has(.uspCard:nth-child(3)):not(:has(.uspCard:nth-child(4))) {
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user