Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
hager
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2024-10-17 18:10:14 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2e129cb9ceaa8573882ff93f6078b88c663b3080
2e129cb9
1 parent
47e740bc
fix 字体问题处理
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
2 deletions
src/App.vue
src/App.vue
View file @
2e129cb
<!--
* @Date: 2024-09-26 13:36:06
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-10-17
09:45:26
* @LastEditTime: 2024-10-17
15:55:29
* @FilePath: /hager/src/App.vue
* @Description: 文件描述
-->
...
...
@@ -42,7 +42,6 @@ export default {
html,
body {
font-size: 16px;
width: 100%;
height: 100%;
margin: 0;
...
...
@@ -54,6 +53,28 @@ body {
}
}
body {
font-size: 16px; /* 默认字体大小 */
}
// @media (max-width: 1200px) {
// body {
// font-size: 14px; /* 1200px 以下屏幕的字体大小 */
// }
// }
// @media (max-width: 768px) {
// body {
// font-size: 12px; /* 768px 以下屏幕的字体大小 */
// }
// }
// @media (max-width: 480px) {
// body {
// font-size: 10px; /* 480px 以下屏幕的字体大小 */
// }
// }
.global-center {
position: relative;
top: 50%;
...
...
Please
register
or
login
to post a comment