mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 06:06:41 +01:00
Status card style changes
This commit is contained in:
parent
d54511aa10
commit
852f7090f6
2 changed files with 10 additions and 1 deletions
|
@ -944,6 +944,10 @@ a[href^='http'][rel*='nofollow']:visited:not(:has(div)) {
|
|||
}
|
||||
.status-carousel .content-container .content:only-child {
|
||||
font-size: calc(100% + 25% * max(2 - var(--content-text-weight), 0));
|
||||
|
||||
&:has(.status-card) {
|
||||
font-size: unset;
|
||||
}
|
||||
}
|
||||
/* .status-carousel
|
||||
.content-container[data-content-text-weight='1']
|
||||
|
|
|
@ -208,7 +208,7 @@
|
|||
max-height: 160px !important;
|
||||
overflow: clip;
|
||||
}
|
||||
.status.small:not(.status-carousel .status)
|
||||
.status.small:not(.status-carousel .status, .status.large .status)
|
||||
.status-card
|
||||
:is(.content, .poll, .media-container) {
|
||||
max-height: 80px !important;
|
||||
|
@ -959,6 +959,11 @@
|
|||
height: auto;
|
||||
max-height: 60vh;
|
||||
}
|
||||
.status.status-card .media-container.media-eq1 .media {
|
||||
max-height: 160px;
|
||||
width: auto;
|
||||
max-width: min(var(--width), 100%);
|
||||
}
|
||||
/* Special media borders */
|
||||
.status .media-container.media-eq2 .media:first-of-type {
|
||||
border-radius: var(--media-radius) var(--media-radius-inner)
|
||||
|
|
Loading…
Reference in a new issue