diff --git a/src/layout/components/notice/index.vue b/src/layout/components/notice/index.vue index 7d3ee76..3a37720 100644 --- a/src/layout/components/notice/index.vue +++ b/src/layout/components/notice/index.vue @@ -22,19 +22,31 @@ notices.value.map(v => (noticesNum.value += v.list.length)); @@ -57,8 +69,6 @@ notices.value.map(v => (noticesNum.value += v.list.length)); } .dropdown-tabs { - width: 330px; - .noticeList-container { padding: 15px 24px 0; } diff --git a/src/layout/components/search/components/SearchModal.vue b/src/layout/components/search/components/SearchModal.vue index aa9cc62..7d1b4c5 100644 --- a/src/layout/components/search/components/SearchModal.vue +++ b/src/layout/components/search/components/SearchModal.vue @@ -144,6 +144,7 @@ onKeyStroke("ArrowDown", handleDown); :style="{ borderRadius: '6px' }" + append-to-body @opened="inputRef.focus()" @closed="inputRef.blur()" >