diff --git a/.changeset/fuzzy-worms-wait.md b/.changeset/fuzzy-worms-wait.md new file mode 100644 index 00000000000..4a1f9ba67b5 --- /dev/null +++ b/.changeset/fuzzy-worms-wait.md @@ -0,0 +1,5 @@ +--- +'@aws-amplify/ui-vue': patch +--- + +Fixes an issue where warnings related to unused css would appear while building with nuxt. diff --git a/packages/vue/src/components/primitives/styles.css b/packages/vue/src/components/primitives/styles.css index 297c1315ce2..6bf76de9204 100644 --- a/packages/vue/src/components/primitives/styles.css +++ b/packages/vue/src/components/primitives/styles.css @@ -10,22 +10,5 @@ html { } [data-amplify-spacer] { - @apply flex-1; -} - -[data-amplify-lostcode] { - @apply flex flex-col items-start; -} - -[data-amplify-select] { - @apply block w-full rounded shadow-sm; - border-width: 1px; - padding: 0.5rem 0.75rem; - font-size: 1rem; - line-height: 1.5rem; - width: 97%; -} - -[data-amplify-alias-label] { - @apply flex flex-col; + flex: 1; }