📱 (note) overflow on x

This commit is contained in:
2021-03-25 20:38:58 +01:00
parent a66476f233
commit 33375647c1
3 changed files with 10 additions and 3 deletions

View File

@@ -168,7 +168,7 @@ $header-height: 40px;
flex-wrap: wrap; flex-wrap: wrap;
.note { .note {
width: 100%; width: 100vw;
} }
} }
} }

View File

@@ -12,7 +12,7 @@
{{ title }} {{ title }}
</a> </a>
</div> </div>
<section v-html="content"></section> <section class="note-content" v-html="content"></section>
</div> </div>
</template> </template>
@@ -105,6 +105,13 @@ $border-color: rgba(18, 19, 58, 0.2);
section { section {
padding: 1rem 0 2rem; padding: 1rem 0 2rem;
overflow-x: auto;
}
.note-content {
.table {
overflow-x: auto;
}
} }
} }
} }

View File

@@ -11,7 +11,7 @@ const md = new MarkdownIt({
h4: ['title', 'is-5'], h4: ['title', 'is-5'],
h5: ['title', 'is-6'], h5: ['title', 'is-6'],
h6: ['title', 'is-6'], h6: ['title', 'is-6'],
table: ['table', 'is-striped', 'is-hoverable', 'is-fullwidth'] table: ['table', 'is-striped', 'is-hoverable']
}) })
export const useMarkdown = () => { export const useMarkdown = () => {