modified: styles.css

This commit is contained in:
IrisVega 2024-07-10 16:12:21 +08:00
parent 517081412b
commit da5fdb472b
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
/* 选项卡按钮样式 */ /* 选项卡按钮样式 */
.tab { .tab {
display: flex; display: inline-flex;
overflow: hidden; overflow: hidden;
border: 1px solid #ff69b4; /* 粉色边框 */ border: 1px solid #ff69b4; /* 粉色边框 */
background-color: #ffc0cb; /* 粉色背景 */ background-color: #ffc0cb; /* 粉色背景 */
@ -151,7 +151,7 @@ span {
font-weight: bold; font-weight: bold;
} }
#tab-container { #tab-container {
display: flex; width: 100%; /* 或者您希望的固定宽度 */
overflow-x: auto; overflow-x: auto;
white-space: nowrap; white-space: nowrap;
} }