Files
vue3-element-admin/src/styles/global.scss
haoxr 08990b274c refactor: 全局样式优化
Former-commit-id: 3bd9d3f37e8964d68801cc958d0a651e9adaf4e1
2023-01-23 01:18:39 +08:00

28 lines
631 B
SCSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
html,
body,
#app {
height: 100%;
}
svg {
vertical-align: -0.15em; //因icon大小被设置为和字体大小一致而span等标签的下边缘会和字体的基线对齐故需设置一个往下的偏移比例来纠正视觉上的未对齐效果
}
img,svg{
display: inline-block;
}
// main-container global css
.app-container {
padding: 20px;
}
.search {
padding: 18px 0 0 10px;
margin-bottom: 10px;
border-radius: var(--el-card-border-radius);
border: 1px solid var(--el-border-color-light);
box-shadow: var(--el-box-shadow-light);
background-color: var(--el-bg-color-overlay);
}