布局问题修改

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> </script>
<style lang="scss"> <style lang="scss">
@import './styles/style'; @import './styles/style';
@import './assets/fonts/font.css';
</style> </style>

View File

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

View File

@ -1,5 +1,6 @@
@import 'common/base'; @import 'common/base';
@import 'common/define'; @import 'common/define';
@import './assets/fonts/font.css';
#app { #app {
position: relative; position: relative;
width: 100%; width: 100%;
@ -7,11 +8,31 @@
font-family: Avenir, sans-serif; font-family: Avenir, sans-serif;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -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 { .clamp2 {
// overflow: hidden auto; line-clamp: 2;
// height: auto; -webkit-line-clamp: 2;
// max-height: calc(100vh - 130px); line-height: 1.5;
// } max-height: calc(1.5em * 2);
}

View File

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