布局问题修改

This commit is contained in:
13713575202 2025-04-24 11:32:48 +08:00
parent 47ab984f4d
commit 4833c1e9bd
4 changed files with 30 additions and 10 deletions

View File

@ -18,5 +18,4 @@ const size = computed(() => SettingStore.themeConfig.globalComSize);
</script>
<style lang="scss">
@import './styles/style';
@import './assets/fonts/font.css';
</style>

View File

@ -119,7 +119,7 @@ function handleTitleClick(val) {
box-sizing: border-box;
}
.header_title {
background-color: #f5f5f5;
background-color: #000;
position: relative;
padding: 0 68px;
display: flex;

View File

@ -1,5 +1,6 @@
@import 'common/base';
@import 'common/define';
@import './assets/fonts/font.css';
#app {
position: relative;
width: 100%;
@ -7,11 +8,31 @@
font-family: Avenir, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: #ffffff;
background-color: #f5f5f5;
}
.el-dialog__body {
overflow: hidden auto;
height: auto;
max-height: calc(100vh - 130px);
}
.txt-ellipsis {
display: -webkit-inline-box;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
word-break: break-all;
white-space: normal;
}
.clamp1 {
line-clamp: 1;
-webkit-line-clamp: 1;
line-height: 1.5;
max-height: calc(1.5em * 1);
}
// .el-dialog__body {
// overflow: hidden auto;
// height: auto;
// max-height: calc(100vh - 130px);
// }
.clamp2 {
line-clamp: 2;
-webkit-line-clamp: 2;
line-height: 1.5;
max-height: calc(1.5em * 2);
}

View File

@ -87,7 +87,7 @@ let rollDataList = reactive([
flex-direction: column;
}
.left-charts-item {
width: 100%;
width: calc(100% - 5px);
height: calc((100% - 30px) / 3);
}
@ -98,7 +98,7 @@ let rollDataList = reactive([
flex-direction: column;
}
.right-charts-item {
width: 100%;
width: calc(100% - 5px);
height: calc((100% - 30px) / 3);
}
}