Skip to content

Commit

Permalink
Ensure things stays inside main container
Browse files Browse the repository at this point in the history
  • Loading branch information
pratikgajjar committed Oct 27, 2024
1 parent a430e54 commit 5114d55
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions themes/coloroid/assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,13 @@ blockquote p {
max-width: 800px;
width: 100%;
flex-grow: 1;
box-sizing: border-box;
}

.container * {
overflow-wrap: break-word; /* Breaks words to fit within container */
word-wrap: break-word; /* For cross-browser compatibility */
box-sizing: inherit; /* Ensures box-sizing rules are applied to all child elements */
}

header {
Expand Down

0 comments on commit 5114d55

Please sign in to comment.