mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
added linting for postteaser
This commit is contained in:
parent
a5d6bd037b
commit
47d7ed3cad
@ -18,10 +18,7 @@
|
|||||||
<div class="post-user-row">
|
<div class="post-user-row">
|
||||||
<user-teaser :user="post.author" :group="post.group" :date-time="post.createdAt" />
|
<user-teaser :user="post.author" :group="post.group" :date-time="post.createdAt" />
|
||||||
<hc-ribbon
|
<hc-ribbon
|
||||||
:class="[
|
:class="[isPinned ? '--pinned' : '', post.image ? 'post-ribbon-w-img' : 'post-ribbon']"
|
||||||
(isPinned) ? '--pinned' : '',
|
|
||||||
(post.image) ? 'post-ribbon-w-img' : 'post-ribbon'
|
|
||||||
]"
|
|
||||||
:text="isPinned ? $t('post.pinned') : $t('post.name')"
|
:text="isPinned ? $t('post.pinned') : $t('post.name')"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@ -199,7 +196,7 @@ export default {
|
|||||||
color: $text-color-base;
|
color: $text-color-base;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-user-row{
|
.post-user-row {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
> .post-ribbon-w-img {
|
> .post-ribbon-w-img {
|
||||||
@ -224,9 +221,9 @@ export default {
|
|||||||
overflow: visible;
|
overflow: visible;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
> .hero-image{
|
> .hero-image {
|
||||||
border-top-left-radius: 5px;
|
border-top-left-radius: 5px;
|
||||||
border-top-right-radius: 5px;
|
border-top-right-radius: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.--blur-image > .hero-image > .image {
|
&.--blur-image > .hero-image > .image {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user