forked from mirrors/bookwyrm
prevent large text from janking up view
This commit is contained in:
parent
4d8bd3ad93
commit
b116df723f
2 changed files with 6 additions and 1 deletions
|
@ -29,6 +29,11 @@ body {
|
||||||
min-width: 75% !important;
|
min-width: 75% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.clip-text {
|
||||||
|
max-height: 35em;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
/** Utilities not covered by Bulma
|
/** Utilities not covered by Bulma
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
{% include 'snippets/follow_button.html' with user=status.user show_username=True minimal=True %}
|
{% include 'snippets/follow_button.html' with user=status.user show_username=True minimal=True %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="notification has-background-white p-2 mb-2">
|
<div class="notification has-background-white p-2 mb-2 clip-text">
|
||||||
{% include "snippets/status/content_status.html" with hide_book=True trim_length=70 hide_more=True %}
|
{% include "snippets/status/content_status.html" with hide_book=True trim_length=70 hide_more=True %}
|
||||||
</div>
|
</div>
|
||||||
<a href="{{ status.remote_id }}">
|
<a href="{{ status.remote_id }}">
|
||||||
|
|
Loading…
Reference in a new issue