-
Notifications
You must be signed in to change notification settings - Fork 0
Fix overflowing style in article.css #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -53,18 +53,18 @@ pre code { | |||||||
| a { | ||||||||
| color: #3498db; | ||||||||
| text-decoration: none; | ||||||||
| word-break: break-word; | ||||||||
| } | ||||||||
| a:hover { | ||||||||
| text-decoration: underline; | ||||||||
| } | ||||||||
| table { | ||||||||
| border-collapse: collapse; | ||||||||
| width: 100%; | ||||||||
|
||||||||
| width: 100%; | |
| width: 100%; | |
| margin: 1em 0; |
Copilot
AI
Dec 15, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The padding has been reduced from 0.75em to 0.2em (73% reduction), which may make table content too cramped and difficult to read. Consider a more moderate reduction like 0.5em or 0.4em to balance overflow prevention with readability.
| padding: 0.2em; | |
| padding: 0.5em; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Applying word-break: break-word to all anchor elements may cause unintended breaking of short links and UI elements. Consider applying this style more selectively, such as targeting only links within article content (e.g., .container a) or using overflow-wrap: break-word instead, which only breaks when necessary to prevent overflow.