mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-12-18 09:31:45 +03:00
Merge pull request #202 from natsukagami/transform-by-main-width
Use `--main-width` for transform calculation
This commit is contained in:
commit
e7f624c33c
1 changed files with 1 additions and 1 deletions
|
@ -2181,6 +2181,6 @@ ul.link-list li a .icon {
|
|||
li.timeline-item-carousel {
|
||||
width: 95vw;
|
||||
max-width: calc(320px * 3.3);
|
||||
transform: translateX(calc(-50% + 20em));
|
||||
transform: translateX(calc(-50% + var(--main-width)/2));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue