mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-14 12:18:30 +03:00
Place captions to right side of media when there's enough space
This commit is contained in:
parent
8a4ab1bdb9
commit
9f6236762d
1 changed files with 7 additions and 2 deletions
|
@ -711,15 +711,20 @@
|
|||
figure {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: flex-end;
|
||||
column-gap: 4px;
|
||||
|
||||
figcaption {
|
||||
margin: -2px 0 0;
|
||||
padding: 0 4px;
|
||||
padding: 4px;
|
||||
font-size: 90%;
|
||||
color: var(--text-insignificant-color);
|
||||
line-height: 1.2;
|
||||
cursor: pointer;
|
||||
white-space: pre-line;
|
||||
flex-basis: 15em;
|
||||
flex-grow: 1;
|
||||
|
||||
&.media-caption-long {
|
||||
overflow: hidden;
|
||||
|
|
Loading…
Add table
Reference in a new issue