pinafore/routes/_components/FreeTextLayout.html

19 lines
355 B
HTML
Raw Normal View History

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