mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-22 01:05:34 +03:00
Use --main-width
for transform calculation
... instead of hard-coding. Make it easier on the eyes for forks with `--main-width` modified :P
This commit is contained in:
parent
72ff229dfb
commit
509efd2ce0
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