From 8a04072cbbfbd1db5c487aa582c8e2bff04a0b95 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Tue, 26 Dec 2023 12:00:08 +0300 Subject: [PATCH] Code section updates --- doc/guides/csslayer/BootstrapDoc.vue | 2 +- doc/guides/csslayer/NormalizeDoc.vue | 2 +- doc/guides/csslayer/ResetDoc.vue | 2 +- doc/guides/csslayer/SpecificityDoc.vue | 2 +- doc/guides/csslayer/TailwindDoc.vue | 8 ++++---- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/guides/csslayer/BootstrapDoc.vue b/doc/guides/csslayer/BootstrapDoc.vue index 58c76a568..f7a72559f 100644 --- a/doc/guides/csslayer/BootstrapDoc.vue +++ b/doc/guides/csslayer/BootstrapDoc.vue @@ -1,7 +1,7 @@ diff --git a/doc/guides/csslayer/NormalizeDoc.vue b/doc/guides/csslayer/NormalizeDoc.vue index d158c8505..383808906 100644 --- a/doc/guides/csslayer/NormalizeDoc.vue +++ b/doc/guides/csslayer/NormalizeDoc.vue @@ -1,7 +1,7 @@ diff --git a/doc/guides/csslayer/ResetDoc.vue b/doc/guides/csslayer/ResetDoc.vue index 8026d6a1e..25bf46f4e 100644 --- a/doc/guides/csslayer/ResetDoc.vue +++ b/doc/guides/csslayer/ResetDoc.vue @@ -5,7 +5,7 @@ override the PrimeVue components leading to unexpected results. A common use case for global styles applying to standard HTML elements is CSS reset utilities to remove the default styling of the browsers. In this case, best practice is wrapping your CSS in a layer like reset and make sure primevue comes after your layer since layers defined after has higher precedence. This way, your Reset CSS does not get in the way of PrimeVue components.

- +

If you are using Nuxt, use the built-in cssLayerOrder property of the PrimeVue nuxt module instead.

diff --git a/doc/guides/csslayer/SpecificityDoc.vue b/doc/guides/csslayer/SpecificityDoc.vue index aa343cf39..c955972fe 100644 --- a/doc/guides/csslayer/SpecificityDoc.vue +++ b/doc/guides/csslayer/SpecificityDoc.vue @@ -14,7 +14,7 @@
- +

Layers also make it possible to use CSS Modules, view the CSS Modules guide for examples.

diff --git a/doc/guides/csslayer/TailwindDoc.vue b/doc/guides/csslayer/TailwindDoc.vue index dda77ddf2..355af39b5 100644 --- a/doc/guides/csslayer/TailwindDoc.vue +++ b/doc/guides/csslayer/TailwindDoc.vue @@ -4,7 +4,7 @@ Tailwind CSS includes a reset utility in base called preflight. If you are using this feature, wrap the base and utilities in separate layers and make sure primevue layer comes after the base.

- + @@ -18,12 +18,12 @@ export default { @layer tailwind-base, primevue, tailwind-utilities; @layer tailwind-base { - @tailwind base; + @tailwind base; } @layer tailwind-utilities { - @tailwind components; - @tailwind utilities; + @tailwind components; + @tailwind utilities; } ` }