Don't split metadata across lines
Fix Photo Card CSS so the metadata appears on a single line instead of getting split, without giving filename the same luxury
This commit is contained in:
parent
3243f87837
commit
8dd5f9e718
1 changed files with 14 additions and 9 deletions
|
@ -140,6 +140,15 @@ li
|
|||
justify-content: space-between;
|
||||
font-size: 12.8px;
|
||||
background-color: inherit;
|
||||
}
|
||||
.photo_card_grid_filename
|
||||
{
|
||||
background-color: inherit;
|
||||
max-height: 30px;
|
||||
overflow: hidden;
|
||||
align-self: flex-start;
|
||||
word-break:break-word;
|
||||
z-index: 1;
|
||||
|
||||
/*
|
||||
The width of photo cards should be based on the aspect ratio of the
|
||||
|
@ -151,15 +160,6 @@ li
|
|||
min-width: 100%;
|
||||
width: 0;
|
||||
}
|
||||
.photo_card_grid_filename
|
||||
{
|
||||
background-color: inherit;
|
||||
max-height: 30px;
|
||||
overflow: hidden;
|
||||
align-self: flex-start;
|
||||
word-break:break-word;
|
||||
z-index: 1;
|
||||
}
|
||||
.photo_card_grid_filename a
|
||||
{
|
||||
background-color: inherit;
|
||||
|
@ -179,6 +179,11 @@ li
|
|||
.photo_card_grid_tags
|
||||
{
|
||||
align-self: flex-start;
|
||||
/*
|
||||
When the metadata is long it tends to squish against the T, so give it
|
||||
some breathing room.
|
||||
*/
|
||||
margin-right: 8px;
|
||||
}
|
||||
.tag_object
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue