Skip to content

Commit

Permalink
Fixed media query
Browse files Browse the repository at this point in the history
  • Loading branch information
h0mbre committed Jul 1, 2024
1 parent d70b2d2 commit 3a259fc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion assets/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ p code, li code, span code {
width: 24px; /* Adjust size as needed */
height: 24px;
margin-right: 0.1rem; /* Space between icon and post details */
vertical-align: top; /* Align icon vertically with the text */
vertical-align: middle; /* Align icon vertically with the text */
}

.post-item {
Expand Down Expand Up @@ -211,4 +211,10 @@ p code, li code, span code {
.post-item {
margin-bottom: 1rem; /* Adjust spacing between post items on mobile */
}

.main-content {
padding: 1rem; /* Adjust padding for smaller screens */
margin: 1rem auto; /* Adjust margin for smaller screens */
width: calc(100% - 2rem); /* Ensure content box fits within the screen */
}
}

0 comments on commit 3a259fc

Please sign in to comment.