style: 富文本@下拉列表超过7个选项就滑动

--bug=1044182 --user=吕梦园
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001044182
This commit is contained in:
teukkk 2024-07-19 15:52:15 +08:00 committed by 刘瑞斌
parent ec358a705a
commit 4dbe854cf9
1 changed files with 5 additions and 2 deletions

View File

@ -82,14 +82,17 @@
}); });
</script> </script>
<style lang="scss"> <style lang="less">
.items { .items {
position: relative; position: relative;
overflow: hidden; overflow: auto;
padding: 8px; padding: 8px;
max-height: 220px;
border-radius: 4px; border-radius: 4px;
color: block; color: block;
box-shadow: 0 0 0 1px rgba(0 0 0 / 5%), 0 10px 20px rgba(0 0 0 / 10%); box-shadow: 0 0 0 1px rgba(0 0 0 / 5%), 0 10px 20px rgba(0 0 0 / 10%);
.ms-scroll-bar();
@apply bg-white; @apply bg-white;
} }
.item { .item {