pinafore/routes/_components/FreeTextLayout.html
2018-01-20 15:37:47 -08:00

19 lines
355 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 */
}
@media (max-width: 767px) {
:global(.free-text) {
margin: 10px;
}
}
</style>