Skip to content

Commit ce2e9a5

Browse files
committed
Made big headers fit better into its content on small screens
1 parent 9fdf670 commit ce2e9a5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/LinkDotNet.Blog.Web/Features/Components/ShortBlogPost.razor.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,11 @@
131131
.blog-card:hover .details {
132132
left: 0;
133133
}
134+
@media (max-width: 400px) {
135+
.blog-card .description h1 {
136+
font-size: 1.25rem;
137+
}
138+
}
134139
@media (min-width: 640px) {
135140
.blog-card {
136141
flex-direction: row;

src/LinkDotNet.Blog.Web/wwwroot/css/basic.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ a:hover {
9999

100100
h1 {
101101
color: var(--header1);
102+
word-wrap: break-word;
102103
}
103104

104105
h2 {

0 commit comments

Comments
 (0)