Skip to content

Commit 8f5a593

Browse files
committed
refactor: Remove unnecessary !important declarations from work styles
Cleaned up CSS by removing all !important flags since: - CSP issue resolved (moved to external stylesheet) - Tailwind prose classes removed - No conflicting styles anymore Result: Cleaner, more maintainable CSS following best practices.
1 parent 616aec5 commit 8f5a593

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

app/assets/stylesheets/works.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,21 @@
2828

2929
/* Paragraphs - generous spacing for readability */
3030
.story-content p {
31-
margin-bottom: 1.5rem !important;
32-
margin-top: 0 !important;
33-
line-height: 1.625 !important;
34-
font-size: 1.125rem !important;
35-
text-align: justify !important;
36-
text-align-last: left !important;
31+
margin-bottom: 1.5rem;
32+
margin-top: 0;
33+
line-height: 1.625;
34+
font-size: 1.125rem;
35+
text-align: justify;
36+
text-align-last: left;
3737
hyphens: auto;
3838
}
3939

4040
/* Bold text in paragraphs - acts as mini section headers */
4141
.story-content p strong {
4242
display: block;
4343
font-weight: 600;
44-
margin-top: 3rem !important;
45-
margin-bottom: 1rem !important;
44+
margin-top: 3rem;
45+
margin-bottom: 1rem;
4646
font-size: 1.25rem;
4747
text-align: left;
4848
}

0 commit comments

Comments
 (0)