diff --git a/common/component/src/main/ets/components/NoteListComp.ets b/common/component/src/main/ets/components/NoteListComp.ets index 3831da2..0acb532 100644 --- a/common/component/src/main/ets/components/NoteListComp.ets +++ b/common/component/src/main/ets/components/NoteListComp.ets @@ -63,11 +63,12 @@ export struct NoteListComp { } .backgroundColor($r('app.color.notelist_bgcolor_f1f3f5')) .width('100%') - .flexGrow(1) + .flexShrink(1) Column() { OperateNoteCompForPortrait() } + .flexShrink(0) .backgroundColor($r('app.color.notelist_bgcolor_f1f3f5')) } .backgroundColor($r('app.color.notelist_bgcolor_f1f3f5'))