mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
fix(Container): add w-full class
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
export default {
|
export default {
|
||||||
base: 'max-w-(--ui-container) mx-auto px-4 sm:px-6 lg:px-8'
|
base: 'w-full max-w-(--ui-container) mx-auto px-4 sm:px-6 lg:px-8'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||||
|
|
||||||
exports[`Container > renders with as correctly 1`] = `"<article class="max-w-(--ui-container) mx-auto px-4 sm:px-6 lg:px-8"></article>"`;
|
exports[`Container > renders with as correctly 1`] = `"<article class="w-full max-w-(--ui-container) mx-auto px-4 sm:px-6 lg:px-8"></article>"`;
|
||||||
|
|
||||||
exports[`Container > renders with class correctly 1`] = `"<div class="mx-auto px-4 sm:px-6 lg:px-8 max-w-5xl"></div>"`;
|
exports[`Container > renders with class correctly 1`] = `"<div class="w-full mx-auto px-4 sm:px-6 lg:px-8 max-w-5xl"></div>"`;
|
||||||
|
|
||||||
exports[`Container > renders with default slot correctly 1`] = `"<div class="max-w-(--ui-container) mx-auto px-4 sm:px-6 lg:px-8">Default slot</div>"`;
|
exports[`Container > renders with default slot correctly 1`] = `"<div class="w-full max-w-(--ui-container) mx-auto px-4 sm:px-6 lg:px-8">Default slot</div>"`;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||||
|
|
||||||
exports[`Container > renders with as correctly 1`] = `"<article class="max-w-(--ui-container) mx-auto px-4 sm:px-6 lg:px-8"></article>"`;
|
exports[`Container > renders with as correctly 1`] = `"<article class="w-full max-w-(--ui-container) mx-auto px-4 sm:px-6 lg:px-8"></article>"`;
|
||||||
|
|
||||||
exports[`Container > renders with class correctly 1`] = `"<div class="mx-auto px-4 sm:px-6 lg:px-8 max-w-5xl"></div>"`;
|
exports[`Container > renders with class correctly 1`] = `"<div class="w-full mx-auto px-4 sm:px-6 lg:px-8 max-w-5xl"></div>"`;
|
||||||
|
|
||||||
exports[`Container > renders with default slot correctly 1`] = `"<div class="max-w-(--ui-container) mx-auto px-4 sm:px-6 lg:px-8">Default slot</div>"`;
|
exports[`Container > renders with default slot correctly 1`] = `"<div class="w-full max-w-(--ui-container) mx-auto px-4 sm:px-6 lg:px-8">Default slot</div>"`;
|
||||||
|
|||||||
Reference in New Issue
Block a user