mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Allow full width images; fix overflow in teaser
This commit is contained in:
parent
aba88205e9
commit
8ac914eb89
@ -52,7 +52,7 @@ export default {
|
||||
img {
|
||||
display: block;
|
||||
max-height: 400px;
|
||||
max-width: 400px;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -327,7 +327,7 @@ li > p {
|
||||
img {
|
||||
display: block;
|
||||
max-height: 400px;
|
||||
max-width: 400px;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
</client-only>
|
||||
<!-- TODO: replace editor content with tiptap render view -->
|
||||
<!-- eslint-disable-next-line vue/no-v-html -->
|
||||
<div class="content hyphenate-text" v-html="excerpt" />
|
||||
<div class="content hyphenate-text excerpt" v-html="excerpt" />
|
||||
<footer
|
||||
class="footer"
|
||||
v-observe-visibility="(isVisible, entry) => visibilityChanged(isVisible, entry, post.id)"
|
||||
@ -350,3 +350,9 @@ export default {
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<style scoped>
|
||||
.excerpt {
|
||||
overflow: hidden;
|
||||
}
|
||||
</style>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user