fix: make textimage size real 50%
This commit is contained in:
parent
ec7ae2bba3
commit
b03f3340b9
1 changed files with 6 additions and 5 deletions
|
|
@ -3,9 +3,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.textimage-container {
|
.textimage-container {
|
||||||
display: flex;
|
--gap: 2rem;
|
||||||
flex-direction: column;
|
display: flex;
|
||||||
gap: 2rem;
|
flex-direction: column;
|
||||||
|
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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue