修复样式问题
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 2s
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 2s
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
var clientWidth = docEl.clientWidth;
|
||||
if (!clientWidth) return;
|
||||
var fontSize = clientWidth / 8.04; // 750px/7.5=100px,375px/7.5=50px
|
||||
console.log(fontSize,'======fontSize=====')
|
||||
// 直接修改内联样式,优先级最高
|
||||
docEl.setAttribute('style', 'font-size: ' + fontSize + 'px !important;');
|
||||
}
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
padding: 20px 22px;
|
||||
background: #fff;
|
||||
margin-top: 46px;
|
||||
/* border-bottom: 1px solid #f0f0f0; */
|
||||
box-shadow: 0 2px 8px rgba(217, 217, 217, 0.2);
|
||||
}
|
||||
|
||||
.top-bar {
|
||||
@@ -52,7 +54,8 @@
|
||||
/* 主体布局 */
|
||||
.main {
|
||||
display: flex;
|
||||
height: calc(100% - 46px)
|
||||
height: calc(100% - 46px);
|
||||
margin-top:0.018rem;
|
||||
}
|
||||
|
||||
/* 左侧菜单 */
|
||||
@@ -75,6 +78,8 @@
|
||||
.sidebar li.active {
|
||||
color: #004BFA;
|
||||
background: #fff;
|
||||
border-top-right-radius: 12px;
|
||||
border-bottom-right-radius:12px ;
|
||||
}
|
||||
|
||||
/* 右侧内容 */
|
||||
|
||||
@@ -320,17 +320,18 @@
|
||||
border: 1px solid #e0e0e0;
|
||||
border-radius: 30px;
|
||||
padding-left: 24px;
|
||||
padding-right: 13px;
|
||||
/* padding-right: 13px; */
|
||||
background: #f8f8f8;
|
||||
}
|
||||
|
||||
.search-input-box input {
|
||||
flex: 1;
|
||||
|
||||
border: none;
|
||||
outline: none;
|
||||
background: transparent;
|
||||
font-size: 14px !important;
|
||||
padding: 10px 0;
|
||||
flex:1;
|
||||
}
|
||||
|
||||
.search-input-box input::placeholder {
|
||||
@@ -346,6 +347,7 @@
|
||||
}
|
||||
.search-clear-box {
|
||||
padding-right: 10px;
|
||||
padding-left: 10px;
|
||||
}
|
||||
/* .search-clear-btn {
|
||||
border-right: 1px solid #eee;
|
||||
@@ -363,6 +365,7 @@
|
||||
.search-submit-box {
|
||||
border-left: 1px solid #d9d9d9;
|
||||
padding-left:10px;
|
||||
padding-right: 13px;
|
||||
max-height: 18px;
|
||||
}
|
||||
.search-history {
|
||||
|
||||
Reference in New Issue
Block a user