Merge pull request #4784 from snowraincloud/preview-fixes

Fix(black-list): Increase the width of the popup box and add a scroll (fix the1812#4749)
This commit is contained in:
Grant Howard 2024-06-15 15:56:22 +08:00 committed by GitHub
commit b1da667797
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -115,7 +115,7 @@ export default Vue.extend({
@import 'common'; @import 'common';
.custom-black-list-settings { .custom-black-list-settings {
@include popup(); @include popup();
width: 400px; width: 800px;
font-size: 14px; font-size: 14px;
padding: 12px 12px 12px 18px; padding: 12px 12px 12px 18px;
left: 50%; left: 50%;
@ -167,6 +167,27 @@ export default Vue.extend({
line-height: 1.5; line-height: 1.5;
} }
&-content { &-content {
margin-top: 20px;
max-height: 400px;
padding: 10px;
overflow: auto;
scrollbar-width: thin;
scrollbar-color: #888 #eee;
&::-webkit-scrollbar {
width: 12px;
}
&::-webkit-scrollbar-track {
background: #eee;
}
&::-webkit-scrollbar-thumb {
background-color: #888;
border-radius: 10px;
border: 3px solid #eee;
}
@include h-center(); @include h-center();
flex-wrap: wrap; flex-wrap: wrap;
.be-slider { .be-slider {