mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 14:16:39 +01:00
Fix flickering text bug
Font size changes when truncated class is added/removed, thus making it flickering
This commit is contained in:
parent
99d7525436
commit
27b0813e49
1 changed files with 4 additions and 1 deletions
|
@ -166,8 +166,11 @@
|
||||||
.status.large .status-card :is(.content, .poll, .media-container) {
|
.status.large .status-card :is(.content, .poll, .media-container) {
|
||||||
max-height: 80vh !important;
|
max-height: 80vh !important;
|
||||||
}
|
}
|
||||||
.status-card :is(.content.truncated, .poll, .media-container.truncated) {
|
.status-card :is(.content, .poll, .media-container) {
|
||||||
font-size: inherit !important;
|
font-size: inherit !important;
|
||||||
|
}
|
||||||
|
.status-card :is(.content.truncated, .poll, .media-container.truncated) {
|
||||||
|
/* font-size: inherit !important; */
|
||||||
mask-image: linear-gradient(to bottom, #000 80px, transparent);
|
mask-image: linear-gradient(to bottom, #000 80px, transparent);
|
||||||
}
|
}
|
||||||
.status.small
|
.status.small
|
||||||
|
|
Loading…
Reference in a new issue