Improve wish design

This commit is contained in:
Jay Trees 2022-03-04 09:29:28 +01:00
parent 940fe61a5a
commit 52d4880510
3 changed files with 14 additions and 12 deletions

View file

@ -65,7 +65,7 @@ img {
}
/** Image */
.ui.card > .image > img.preview{
.ui.card > .image > img.preview {
height: var(--wishPreviewHeight);
object-fit: cover;
object-position: 50%;

View file

@ -1,5 +1,5 @@
.image.preview {
height: var(--wishPreviewHeight);
height: var(--wishPreviewHeight) !important;
object-fit: cover;
object-position: 50%;

View file

@ -70,17 +70,19 @@ $referer = '/?page=wishlists&wishlist=' . $wish->wishlist;
<div class="column">
<div class="ui header">Options</div>
<a class="ui labeled icon button" href="<?= $wish->url ?>" target="_blank">
<i class="external icon"></i>
Visit
</a>
<div class="flex">
<a class="ui labeled icon button" href="<?= $wish->url ?>" target="_blank">
<i class="external icon"></i>
Visit
</a>
<button class="ui labeled icon button autofill"
type="button"
>
<i class="redo icon"></i>
Auto-fill
</button>
<button class="ui labeled icon button autofill"
type="button"
>
<i class="redo icon"></i>
Auto-fill
</button>
</div>
</div>
</div>