Skip to content

Commit

Permalink
fix: change title and subtitle styles to look different on mobile res…
Browse files Browse the repository at this point in the history
…olution (#3495)
  • Loading branch information
pogrib0k authored Jun 14, 2023
1 parent 467ecbe commit 2bd94ba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions packages/docs/modules/page-config/blocks/subtitle/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,11 @@ const { t } = useI18n()
font-size: 2rem;
line-height: 2.5rem;
@media screen and (max-width: 767px) {
font-size: 1.5rem !important;
line-height: 2rem;
margin-top: 2rem;
}
}
</style>
2 changes: 1 addition & 1 deletion packages/docs/modules/page-config/blocks/title/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const { t } = useI18n()
--code-bg: transparent;
@media screen and (max-width: 767px) {
font-size: 2rem !important;
font-size: 2.5rem !important;
}
}
</style>

0 comments on commit 2bd94ba

Please sign in to comment.