forked from kompetenzinventar/ki-frontend
kompetenzinventar/ki-doku#18 line-break new text (!72)
Co-authored-by: scammo <samuel.brinkmann@googlemail.com> Reviewed-on: kompetenzinventar/ki-frontend#72 Reviewed-by: weeman <weeman@noreply.git.wtf-eg.de> Co-authored-by: scammo <scammo@noreply.git.wtf-eg.de> Co-committed-by: scammo <scammo@noreply.git.wtf-eg.de>
This commit is contained in:
parent
04cb8a7217
commit
16feb41f8a
@ -75,7 +75,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
<label class="form-label fw-bold">
|
||||
Anmerkungen
|
||||
</label>
|
||||
<div>{{ profile.availability_text }}</div>
|
||||
<div class="line-break-text">{{ profile.availability_text }}</div>
|
||||
</div>
|
||||
</Section>
|
||||
|
||||
@ -98,11 +98,11 @@ SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
title="Sonstiges">
|
||||
<div v-if="profile.freetext" :class="{ 'lh-base': true, 'mb-4': profile.volunteerwork }">
|
||||
<h5>Über mich</h5>
|
||||
{{ profile.freetext }}
|
||||
<div class="line-break-text">{{ profile.freetext }}</div>
|
||||
</div>
|
||||
<div v-if="profile.volunteerwork" class="lh-base">
|
||||
<h5>Ehrenamtliche Arbeit</h5>
|
||||
{{ profile.volunteerwork }}
|
||||
<div class="line-break-text">{{ profile.volunteerwork }}</div>
|
||||
</div>
|
||||
</Section>
|
||||
</template>
|
||||
@ -154,4 +154,7 @@ export default {
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.line-break-text{
|
||||
white-space: pre-line;
|
||||
}
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user