Commit b6f38543 authored by liubinyu's avatar liubinyu

手机适配

parent fe68d768
......@@ -184,4 +184,35 @@ const isLight = computed(() => locale.value !== 'En')
.gc-header.light .right .icon-lang {
filter: contrast(0.1);
}
@media screen and (max-width: 750px) {
.gc-header {
padding: 0 8px;
}
.gc-header .logo {
height: 24px;
}
.gc-header .nav-list {
margin: 0 16px;
}
.nav-list .btn {
min-width: 40px;
font-size: 14px;
margin-right: 16px;
}
.nav-list .btn .line {
width: 40px;
height: 2px;
}
.right .icon-lang {
width: 24px;
height: 24px;
margin-right: 8px;
}
}
</style>
\ No newline at end of file
......@@ -6,6 +6,12 @@
--layout-header-height: 80px;
}
@media screen and (max-width: 750px) {
:root {
--layout-header-height: 50px;
}
}
* {
box-sizing: border-box;
outline: none;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment