Skip to content

Commit 74497c3

Browse files
committed
style: separate memo from controller panel and reduce height
1 parent 34621a8 commit 74497c3

1 file changed

Lines changed: 20 additions & 21 deletions

File tree

src/views/MobileCompanion.svelte

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1267,27 +1267,26 @@
12671267
<span class="i-material-symbols:visibility-off-outline-rounded text-[22px]" />
12681268
<span>文字消しスクショ</span>
12691269
</button>
1270+
</section>
12701271

1271-
<section class="memo-preview">
1272-
<div class="section-head">
1273-
<h2>メモ</h2>
1274-
<span class="subtle">編集</span>
1275-
</div>
1276-
<div class="detail-memo-editor">
1277-
<textarea
1278-
bind:value={memoText}
1279-
placeholder="メモを入力"
1280-
/>
1281-
<button
1282-
type="button"
1283-
disabled={connectionState !== "connected" || selectedGameId === null}
1284-
on:click={syncMemo}
1285-
>
1286-
メモを同期
1287-
</button>
1288-
</div>
1289-
</section>
1290-
1272+
<section class="memo-preview">
1273+
<div class="section-head">
1274+
<h2>メモ</h2>
1275+
<span class="subtle">編集</span>
1276+
</div>
1277+
<div class="detail-memo-editor">
1278+
<textarea
1279+
bind:value={memoText}
1280+
placeholder="メモを入力"
1281+
/>
1282+
<button
1283+
type="button"
1284+
disabled={connectionState !== "connected" || selectedGameId === null}
1285+
on:click={syncMemo}
1286+
>
1287+
メモを同期
1288+
</button>
1289+
</div>
12911290
</section>
12921291
{:else}
12931292
<section class="empty-state controller-waiting">
@@ -1820,7 +1819,7 @@
18201819
18211820
.detail-memo-editor textarea {
18221821
box-sizing: border-box;
1823-
min-height: 220px;
1822+
min-height: 120px;
18241823
width: 100%;
18251824
resize: vertical;
18261825
border: 1px solid rgb(255 255 255 / 0.1);

0 commit comments

Comments
 (0)