mirror of
https://github.com/nolanlawson/pinafore
synced 2024-12-13 18:57:02 +01:00
19 lines
355 B
HTML
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> |