Fix card radius
This commit is contained in:
parent
4cef9492d2
commit
20d3283e2e
2 changed files with 5 additions and 2 deletions
|
@ -55,6 +55,7 @@ img {
|
|||
|
||||
z-index: 1;
|
||||
opacity: 0;
|
||||
border-radius: 0.33333333rem;
|
||||
|
||||
background-color: rgba(255, 255, 255, 0.6);
|
||||
}
|
||||
|
@ -136,6 +137,7 @@ img {
|
|||
height: 4em;
|
||||
width: 100%;
|
||||
background-image: linear-gradient(0deg, rgba(255,255,255,1) 0.75em, rgba(255,255,255,0.8995799003195029) 45%, rgba(255,255,255,0) 100%);
|
||||
border-radius: 0.33333333rem;
|
||||
}
|
||||
|
||||
/** Buttons */
|
||||
|
@ -152,6 +154,7 @@ img {
|
|||
.ui.card > .extra.buttons,
|
||||
.ui.cards > .card > .extra.buttons {
|
||||
opacity: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
.ui.card:hover > .extra.buttons,
|
||||
|
|
|
@ -81,8 +81,6 @@ class Wish
|
|||
?>
|
||||
|
||||
<div class="ui fluid card stretch" data-id="<?= $this->id ?>" data-cache="<?= $exists ?>">
|
||||
<div class="overlay"></div>
|
||||
|
||||
<div class="image">
|
||||
<?php if ($this->image) { ?>
|
||||
<img class="preview" src="<?= $this->image ?>" loading="lazy" />
|
||||
|
@ -97,6 +95,8 @@ class Wish
|
|||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<div class="overlay"></div>
|
||||
|
||||
<div class="content">
|
||||
<?php if ($this->title) { ?>
|
||||
<div class="header">
|
||||
|
|
Loading…
Reference in a new issue