Pinafore-Web-Client-Frontend/routes/_components/FreeTextLayout.html

14 lines
269 B
HTML

<div class="free-text">
<slot></slot>
</div>
<style>
:global(.free-text) {
margin: 20px;
}
:global(.free-text p) {
margin: 30px 0;
}
:global(.free-text) {
overflow-y: auto; /* fixes weird iOS Safari bug where scrolling gets stuck */
}
</style>