Skip to content

Commit 1a6eb6c

Browse files
authored
Merge pull request #157 from FlexConfirmMail/modify-confirmation-dialog-style
Modify style of the confirmation dialog
2 parents 6987098 + fb78d47 commit 1a6eb6c

2 files changed

Lines changed: 23 additions & 2 deletions

File tree

src/web/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ async function tryConfirm(data, asyncContext) {
155155
data,
156156
asyncContext,
157157
height: Math.min(60, charsToPercentage(50, screen.availHeight)),
158-
width: Math.min(80, charsToPercentage(60, screen.availWidth)),
158+
width: Math.min(90, charsToPercentage(90, screen.availWidth)),
159159
});
160160
console.debug("status: ", status);
161161

src/web/confirm.css

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@ Copyright (c) 2025 ClearCode Inc.
77
*/
88
.heading-container {
99
display: flex;
10-
align-items: center;
10+
align-items: end;
11+
margin-bottom: 0;
12+
}
13+
14+
.heading-container h3 {
15+
margin-bottom: 0;
1116
}
1217

1318
.heading-container fluent-button {
@@ -167,4 +172,20 @@ pre {
167172
white-space: pre-wrap;
168173
word-wrap: break-word;
169174
overflow-wrap: break-word;
175+
}
176+
177+
#trusted-domains-card {
178+
container-type: inline-size;
179+
}
180+
181+
@container (max-width: 430px) {
182+
#trusted-domains-card .heading-container {
183+
flex-direction: column-reverse; /* DOM 順は h3 → button、視覚順を逆転 */
184+
align-items: flex-start;
185+
}
186+
187+
#check-all-trusted {
188+
margin-top: 10px;
189+
margin-left: 0;
190+
}
170191
}

0 commit comments

Comments
 (0)