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

14 lines
269 B
HTML
Raw Normal View History

2018-01-13 03:57:50 +01:00
<div class="free-text">
<slot></slot>
</div>
<style>
:global(.free-text) {
margin: 20px;
}
:global(.free-text p) {
2018-01-15 06:41:19 +01:00
margin: 30px 0;
2018-01-13 03:57:50 +01:00
}
2018-01-21 00:37:40 +01:00
:global(.free-text) {
overflow-y: auto; /* fixes weird iOS Safari bug where scrolling gets stuck */
}
2018-01-13 03:57:50 +01:00
</style>