pinafore/routes/_components/FreeTextLayout.html

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