prevent large text from janking up view

This commit is contained in:
Mouse Reeve 2021-08-07 16:48:53 -07:00
parent 4d8bd3ad93
commit b116df723f
2 changed files with 6 additions and 1 deletions

View file

@ -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
******************************************************************************/ ******************************************************************************/

View file

@ -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 }}">