diff --git a/src/main/resources/static/css/synthesisQuery/digitalSignage.css b/src/main/resources/static/css/synthesisQuery/digitalSignage.css index 3e637d9..7afd846 100644 --- a/src/main/resources/static/css/synthesisQuery/digitalSignage.css +++ b/src/main/resources/static/css/synthesisQuery/digitalSignage.css @@ -462,19 +462,21 @@ body { left: 50% !important; transform: translateX(-50%) !important; z-index: 999; - font-size: 32px; + font-size: 38px; font-weight: bold; - letter-spacing: 6px; + letter-spacing: 10px; font-family: "Alibaba PuHuiTi R"; background: linear-gradient(to right, #c9d6ff, #e2e2e2); color: #063268; border-radius: 2px; - padding: 0 12px; /* 内边距 */ + padding: 4px 12px; /* 内边距 */ /* 新增关键样式 */ max-width: 100%; /* 最大宽度不超过父盒子 */ + min-width: 67%; box-sizing: border-box; /* 让 padding 计算在 max-width 内 */ white-space: nowrap; /* 防止文字换行(可选) */ overflow: hidden; /* 防止内容溢出(可选) */ text-overflow: ellipsis; /* 超出时显示省略号(可选) */ + text-align: center; }