It's time to address those corner-cutting cases

This commit is contained in:
Lim Chee Aun 2023-03-29 21:17:44 +08:00
parent e15f122dd1
commit e9cf647849
2 changed files with 6 additions and 0 deletions

View file

@ -1681,6 +1681,9 @@ ul.link-list li a .icon {
.timeline:not(.flat) > li:not(:has(.status-carousel)) {
transform: translate3d(0, 0, 0);
}
.timeline:not(.flat) > li:has(.status-badge) {
border-top-right-radius: 8px;
}
.timeline:not(.flat) > li:has(.status-link.is-active) {
transition: var(--back-transition);
transform: translate3d(-2.5vw, 0, 0);

View file

@ -70,6 +70,9 @@
overflow: auto;
box-shadow: 0 -3px 12px -3px var(--drop-shadow-color);
}
#compose-container .status-preview:has(.status-badge) {
border-top-right-radius: 8px;
}
#compose-container .status-preview :is(.hashtag, .time) {
/* Prevent hashtags from being clickable */
/* TODO: maybe use a different solution? */