Skip to content

Commit 97ef77e

Browse files
committed
fix: prevent vertical overflow of memo inside controller panel and bump version to v15
1 parent 60d53d9 commit 97ef77e

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

src/lib/mobileCompanionUrl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const configuredMobileCompanionOrigin =
33

44
export const MOBILE_COMPANION_ORIGIN =
55
configuredMobileCompanionOrigin || "https://nnnsmm.github.io/Launcherg-Mod/";
6-
export const MOBILE_COMPANION_CLIENT_VERSION = "mobile-pwa-v14";
6+
export const MOBILE_COMPANION_CLIENT_VERSION = "mobile-pwa-v15";
77
export const SKYWAY_CONNECT_ENDPOINT = "https://launcherg.ryoha.moe/connect";
88

99
export type MobileCompanionUrlParams = {

src/views/MobileCompanion.svelte

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1268,15 +1268,16 @@
12681268
<span>文字消しスクショ</span>
12691269
</button>
12701270

1271-
<section class="memo-preview" style="flex-shrink: 0;">
1271+
<section class="memo-preview" style="flex: 1; display: flex; flex-direction: column; min-height: 0;">
12721272
<div class="section-head">
12731273
<h2>メモ</h2>
12741274
<span class="subtle">編集</span>
12751275
</div>
1276-
<div class="detail-memo-editor">
1276+
<div class="detail-memo-editor" style="flex: 1; display: flex; flex-direction: column; min-height: 0;">
12771277
<textarea
12781278
bind:value={memoText}
12791279
placeholder="メモを入力"
1280+
style="flex: 1; resize: none; min-height: 60px;"
12801281
/>
12811282
<button
12821283
type="button"

0 commit comments

Comments
 (0)