mirror of
https://github.com/Ocelot-Social-Community/ocelot.social.git
synced 2026-04-06 01:25:18 +00:00
Make table in 'DemoLoginLocalized.vue' scrollable on mobile
This commit is contained in:
parent
68a6213707
commit
02c3e33caf
@ -6,6 +6,7 @@
|
||||
{{ t.introAfter }}
|
||||
</p>
|
||||
|
||||
<div class="table-scroll">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
@ -32,6 +33,7 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -89,3 +91,9 @@ const i18n = {
|
||||
const locale = useRouteLocale()
|
||||
const t = computed(() => i18n[locale.value] ?? i18n["/en/"])
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.table-scroll {
|
||||
overflow-x: auto;
|
||||
}
|
||||
</style>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user