Support multiline descriptions for entities
Use a textarea for editing the description and preserve linebreaks when it's displayed in the UI using a new preWrap class for this purpose.
This commit is contained in:
parent
96681bfd37
commit
37edf122a1
8 changed files with 43 additions and 36 deletions
|
@ -5,7 +5,7 @@
|
|||
<template>
|
||||
<section class="shift">
|
||||
<h3>{{ shift.name }}</h3>
|
||||
<p>{{ shift.description ?? "No description provided" }}</p>
|
||||
<p class="preWrap">{{ shift.description ?? "No description provided" }}</p>
|
||||
|
||||
<h4>Timeslots</h4>
|
||||
<ul>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue