mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-23 08:20:39 +01:00
docs(ComponentExample): improve iframe display
This commit is contained in:
@@ -5,7 +5,13 @@ const name = route.params.slug?.[0]
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="flex flex-col justify-center items-center h-screen">
|
||||
<div class="example flex flex-col justify-center items-center h-screen">
|
||||
<component :is="name" v-bind="route.query" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.example {
|
||||
--ui-container: 54rem;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user