fix: make textimage size real 50%
This commit is contained in:
@@ -3,9 +3,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.textimage-container {
|
.textimage-container {
|
||||||
|
--gap: 2rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 2rem;
|
gap: var(--gap);
|
||||||
}
|
}
|
||||||
|
|
||||||
.textimage-wrapper {
|
.textimage-wrapper {
|
||||||
@@ -62,11 +63,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.textimage-image-wrapper.size-25 {
|
.textimage-image-wrapper.size-25 {
|
||||||
flex: 0 0 25%;
|
flex: 0 0 calc(25% - (var(--gap) / 2));
|
||||||
}
|
}
|
||||||
|
|
||||||
.textimage-image-wrapper.size-50 {
|
.textimage-image-wrapper.size-50 {
|
||||||
flex: 0 0 50%;
|
flex: 0 0 calc(50% - (var(--gap) / 2));
|
||||||
}
|
}
|
||||||
|
|
||||||
.textimage-wrapper {
|
.textimage-wrapper {
|
||||||
|
|||||||
Reference in New Issue
Block a user