diff options
| author | かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> | 2024-07-18 15:44:18 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-18 15:44:18 +0900 |
| commit | ec1c392f1e409e707ba81dfcd45112efb418c7aa (patch) | |
| tree | ae05f5d4fd76f808e019c3772e9d230c10e56c26 /packages/frontend/src/components | |
| parent | fix(frontend): Twitchの埋め込みが開けない問題を修正 (#14247) (diff) | |
| download | sharkey-ec1c392f1e409e707ba81dfcd45112efb418c7aa.tar.gz sharkey-ec1c392f1e409e707ba81dfcd45112efb418c7aa.tar.bz2 sharkey-ec1c392f1e409e707ba81dfcd45112efb418c7aa.zip | |
fix(frontend): 子メニューの最大長調整が行われていない問題を修正 (#14003)
* fix(frontend): 子メニューの最大長調整が行われていない問題を修正
* Update Changelog
* fix
* changelog
* Revert "fix"
This reverts commit 39fb326d49eedf484342c78a61c0dba8e223e596.
* Revert "fix(frontend): 子メニューの最大長調整が行われていない問題を修正"
This reverts commit ea58bf7a53fc8a254b7fbdf222a676e23527358c.
* use css
* maxHeightをchildから定義するように
* use css min
Diffstat (limited to 'packages/frontend/src/components')
| -rw-r--r-- | packages/frontend/src/components/MkMenu.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/components/MkMenu.vue b/packages/frontend/src/components/MkMenu.vue index 2276da1d21..c0728d56fa 100644 --- a/packages/frontend/src/components/MkMenu.vue +++ b/packages/frontend/src/components/MkMenu.vue @@ -17,7 +17,7 @@ SPDX-License-Identifier: AGPL-3.0-only }" :style="{ width: (width && !asDrawer) ? `${width}px` : '', - maxHeight: maxHeight ? `${maxHeight}px` : '', + maxHeight: maxHeight ? `min(${maxHeight}px, calc(100dvh - 32px))` : 'calc(100dvh - 32px)', }" @keydown.stop="() => {}" @contextmenu.self.prevent="() => {}" |