Minor alignments within cards.
This commit is contained in:
parent
7674610b88
commit
d736c81100
2 changed files with 5 additions and 5 deletions
|
@ -22,11 +22,11 @@
|
|||
display: inline-grid;
|
||||
vertical-align: top;
|
||||
grid-template:
|
||||
"thumbnail title" auto
|
||||
"thumbnail title" 1fr
|
||||
"thumbnail metadata" auto
|
||||
/auto 1fr;
|
||||
|
||||
width: 400px;
|
||||
width: 325px;
|
||||
margin: 8px;
|
||||
padding: 8px;
|
||||
}
|
||||
|
@ -80,6 +80,7 @@
|
|||
.photo_card_list .photo_card_selector_checkbox
|
||||
{
|
||||
grid-area: checkbox;
|
||||
align-self: center;
|
||||
}
|
||||
.photo_card_grid
|
||||
{
|
||||
|
@ -169,7 +170,7 @@
|
|||
.photo_card_metadata
|
||||
{
|
||||
grid-area: metadata;
|
||||
align-self: end;
|
||||
align-self: center;
|
||||
justify-self: end;
|
||||
|
||||
font-family: monospace;
|
||||
|
|
|
@ -34,8 +34,7 @@
|
|||
</div>
|
||||
{% else %}
|
||||
<div class="album_card album_card_grid" data-id="{{album.id}}">
|
||||
<a class="album_card_thumbnail" href="/album/{{album.id}}{{viewparam}}">
|
||||
</a>
|
||||
<a class="album_card_thumbnail" href="/album/{{album.id}}{{viewparam}}"></a>
|
||||
|
||||
<div class="album_card_title">
|
||||
<a href="/album/{{album.id}}{{viewparam}}">{{album.display_name}}</a>
|
||||
|
|
Loading…
Reference in a new issue