Add word break to annoucement modal
This commit is contained in:
parent
fea0afa446
commit
0eb7f36531
4 changed files with 7 additions and 2 deletions
|
@ -1160,6 +1160,10 @@ select::placeholder {
|
|||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.announcement-modal .announcement-modal__body .announcement__content {
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
@media (max-width: 575.98px) {
|
||||
.mark-modal, .confirm-modal, .announcement-modal {
|
||||
width: 100%;
|
||||
|
|
2
common/static/css/boofilsic.min.css
vendored
2
common/static/css/boofilsic.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -113,6 +113,7 @@
|
|||
margin-left: 10px
|
||||
|
||||
&__content
|
||||
word-break: break-all
|
||||
|
||||
|
||||
// Small devices (landscape phones, 576px and up)
|
||||
|
|
|
@ -359,7 +359,7 @@
|
|||
<h5 class="announcement__title">{{ ann.title }}</h5>
|
||||
</a>
|
||||
<span class="announcement__datetime">{{ ann.created_time }}</span>
|
||||
<p>{{ ann.get_plain_content | truncate:200 }}</p>
|
||||
<p class="announcement__content">{{ ann.get_plain_content | truncate:200 }}</p>
|
||||
</li>
|
||||
{% if not forloop.last %}
|
||||
<div class="dividing-line" style="border-top-style: dashed;"></div>
|
||||
|
|
Loading…
Add table
Reference in a new issue