1

fix text overflow in groupdescription

This commit is contained in:
killerber4t
2020-03-18 13:21:44 +01:00
parent a6667e4091
commit 5f1cdca4ee

View File

@ -32,8 +32,8 @@
<div class="shadow-sm p-4" style="border: 10px solid aliceblue; background: aliceblue">
<h1 style="color: dodgerblue; font-weight: bold" th:text="${group.getTitle()}"></h1>
<p style="font-weight: bold">
<span class="badge badge-pill badge-dark" style="background: darkslategray" th:if="${group.getVisibility() == group.getVisibility().PRIVATE }">Private Gruppe</span>
<span class="badge badge-pill badge-primary" th:if='${group.getVisibility() == group.getVisibility().PUBLIC}'>Öffentliche Gruppe</span>
<span class="badge badge-pill badge-dark" style="background: darkslategray" th:if='${group.getVisibility() == group.getVisibility().PRIVATE }'>Private Gruppe</span>
<span class="badge badge-pill badge-primary" th:if="${group.getVisibility() == group.getVisibility().PUBLIC}">Öffentliche Gruppe</span>
<span class="badge badge-pill badge-success" style="background: lightseagreen" th:if='${group.getType() == group.getType().LECTURE}'> Veranstaltung</span>
</p>
<p style="overflow-wrap: break-word" th:text="${group.getDescription()}"></p>
@ -50,7 +50,7 @@
<div>
<h2 style="display: inline-block; margin: 0">Mitglieder</h2>
<form method="get" action="/gruppen2/details/members">
<button th:name="group_id" th:if='${group.getRoles().get(user.getUser_id()) == admin}' class="btn btn-secondary" type="submit" style="background: slategrey; float: right" >Mitglieder bearbeiten</button>
<button th:name="group_id" th:value="${group.getId()}" th:if='${group.getRoles().get(user.getUser_id()) == admin}' class="btn btn-secondary" type="submit" style="background: slategrey; float: right" >Mitglieder bearbeiten</button>
</form>
<p></p>
</div>