Merge pull request !1629 from ljm/dev_ljm_20241129
This commit is contained in:
ljm
2025-03-01 09:11:57 +00:00
committed by Gitee
@@ -65,3 +65,51 @@ th.clicked-header .fa-thumb-tack {
}
//.o_input:hover{background: #b3c8df!important;}
// >>> 青岛火一五信息科技有限公司 - JobZhao - postmaster@huo15.com - 2025/1/28
// 解决宽度调整
.o_list_view {
.o_list_table {
table-layout: auto !important; // 让表格宽度根据内容自动调整
width: 100% !important; // 确保表格宽度占满容器
th, td {
white-space: normal !important; // 默认不换行
overflow: visible !important;; // 超出部分不隐藏
// text-overflow: ellipsis; // 超出部分显示省略号
}
td.long-text {
white-space: normal !important; // 允许换行
word-wrap: break-word !important; // 允许长单词换行
}
}
}
.o_list_view {
.o_list_table {
.o_list_button {
// text-overflow: ellipsis;
white-space: nowrap !important; // 默认不换行
}
}
}
/* WebKit浏览器 */
::-webkit-scrollbar {
width: 12px;
height: 12px;
}
::-webkit-scrollbar-thumb {
background-color: darkgrey;
border-radius: 10px;
border: 2px solid #ffffff;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
/* Gecko浏览器(Firefox) */
html {
scrollbar-width: thin; /* 或者使用 'auto' 让浏览器决定 */
scrollbar-color: darkgrey white; /* 设置滑块和轨道颜色 */
}