优化非移动端菜单文字布局
为设置菜单增加非压缩的水平布局、文字容器弹性和溢出裁切,避免设置页缩窄后菜单文字变形,同时补充布局测试。
This commit is contained in:
1 parent
2083f22ce8
commit
f87aaba649
2 files changed
+8
No files matched your search
@@ -154,6 +154,8 @@
|
||||
height: auto;
|
||||
min-height: 52px;
|
||||
min-width: 0;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
justify-content: flex-start;
|
||||
margin: 2px 0;
|
||||
padding: 8px !important;
|
||||
@@ -187,6 +189,8 @@
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
min-width: 0;
|
||||
width: 100%;
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
|
||||
.settings-category-icon {
|
||||
@@ -196,8 +200,10 @@
|
||||
|
||||
.settings-category-copy {
|
||||
display: grid;
|
||||
flex: 1 1 auto;
|
||||
gap: 2px;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.settings-category-label {
|
||||
|
||||
Reference in new issue
Block a user