fix: bypass Vite type error and optimize dashboard layout - #105
Merged
Conversation
- Add `// @ts-ignore` to Astro config to bypass the Vite 6 vs Vite 7 Tailwind plugin type conflict - Adjust `AlertDialogContent` max-width constraint to `max-w-100` for a tighter, brutalist UI layout - Clean up import ordering linting anomalies inside `auth.actions.ts`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 Description
This PR resolves a blocking TypeScript build compilation error and refines structural alignment parameters within the layout system.
Key Changes:
// @ts-ignoreflag over the Tailwind compilation hook declaration block insideastro.config.mjs. This bypasses the structural type mismatch anomaly emerging from version signature variations between the internal Astro Vite v6 instance and Tailwind's Vite v7 plugin properties.dashboard.header.tsxfrom an absolutemax-w-[400px]footprint to a tighter, cleanermax-w-100class rule configuration to better preserve project styling constraints.Fixes # (issue number)
🧪 Type of Change
🛠️ How Has This Been Tested?
Executed compilation tasks to confirm that code verification passes completely without throwing blocking module layout configuration warnings.
Inspected modal interface adjustments across small screen responsive viewport contexts.
Unit/Integration tests added/passed
Local manual edge verification successful
📸 Screenshots / Diffs (if applicable)
Modified Files:
astro.config.mjssrc/modules/auth/auth.actions.tssrc/modules/dashboard/components/dashboard.header.tsx✅ Checklist