-
Notifications
You must be signed in to change notification settings - Fork 99
Open
Labels
Description
Describe the bug
Two styling bugs where typos/invalid values cause UI styles to silently fail:
-
In
src/components/HomePage/styles.jsx(Line 58), the CSS pseudo-class"&:selcted"is misspelled — missing the letter e. It should be"&:selected". This causes the navigation selected-state border to never render. -
In
src/components/Card/CardWithPicture.jsx(Lines 118, 130) andsrc/components/Card/CardWithoutPicture.jsx(Lines 104, 116), MUI Typography usesvariant="h7"which is not a valid MUI variant (onlyh1–h6exist). It silently falls back to defaultbody1styling, so the author/org name on tutorial cards loses its intended heading style.
To Reproduce
- Go to
http://localhost:5173/(HomePage after login) - Click on any navigation tab in the feed section
- Observe that no selected border appears on the active tab
- Scroll down to any tutorial card — the author name and org name appear as plain body text instead of a styled heading
Expected behavior
- The selected navigation tab should display a
2px solid blackborder when active - The author/org name on tutorial cards should render with a proper MUI heading variant like
subtitle2
Desktop:
- OS: Linux (Ubuntu)
- Browser: Chrome
- Version: Latest
Additional context
- File 1:
src/components/HomePage/styles.jsxLine 58 →"&:selcted"should be"&:selected" - File 2:
src/components/Card/CardWithPicture.jsxLines 118, 130 →variant="h7"should bevariant="subtitle2" - File 3:
src/components/Card/CardWithoutPicture.jsxLines 104, 116 →variant="h7"should bevariant="subtitle2" - Total: 5 lines to fix across 3 files
Reactions are currently unavailable