Revert "Update cascade.css"

This reverts commit f53c954541b343b8f6351668e219194fe5b0b66f.
This commit is contained in:
sbwml 2022-12-09 01:29:34 +08:00
parent f53c954541
commit b8425a5ae4

View File

@ -1806,6 +1806,7 @@ body:not(.Interfaces) .cbi-rowstyle-2:first-child {
border-bottom-left-radius: 0; border-bottom-left-radius: 0;
} }
.cbi-dynlist > .item > span { .cbi-dynlist > .item > span {
white-space: normal;
word-break: break-word; word-break: break-word;
line-height: 1.5rem; line-height: 1.5rem;
padding: 0.5rem 0.5rem; padding: 0.5rem 0.5rem;
@ -1819,18 +1820,7 @@ body:not(.Interfaces) .cbi-rowstyle-2:first-child {
display: block; display: block;
transition: box-shadow 0.15s ease; transition: box-shadow 0.15s ease;
box-sizing: border-box; box-sizing: border-box;
white-space: nowrap; min-width: 15rem;
overflow: hidden;
}
@media screen and (max-width: 1366px) {
.cbi-dynlist > .item > span {
max-width: 16rem;
}
}
@media screen and (min-width: 1366px) {
.cbi-dynlist > .item > span {
max-width: 18rem;
}
} }
.cbi-dynlist > .add-item { .cbi-dynlist > .add-item {
display: inline-flex; display: inline-flex;
@ -1977,7 +1967,7 @@ body:not(.Interfaces) .cbi-rowstyle-2:first-child {
display: block; display: block;
width: auto; width: auto;
min-width: 100%; min-width: 100%;
/* max-width: none; */ max-width: none;
max-height: 200px !important; max-height: 200px !important;
border: 0 solid #918e8c; border: 0 solid #918e8c;
background: #ffffff; background: #ffffff;
@ -1987,18 +1977,6 @@ body:not(.Interfaces) .cbi-rowstyle-2:first-child {
color: var(--main-menu-color); color: var(--main-menu-color);
margin-left: -0.2rem !important; margin-left: -0.2rem !important;
} }
@media screen and (max-width: 1366px) {
.cbi-dropdown[open] > ul.dropdown {
max-width: 16rem;
}
}
@media screen and (min-width: 1366px) {
.cbi-dropdown[open] > ul.dropdown {
max-width: 18rem;
}
}
.cbi-dropdown[open] > ul.dropdown li { .cbi-dropdown[open] > ul.dropdown li {
color: #000; color: #000;
} }