Skip to content

Commit a8b16b6

Browse files
feat: refactor IMAP layout from top-bottom split to three-column
1 parent 2951ba5 commit a8b16b6

1 file changed

Lines changed: 20 additions & 3 deletions

File tree

mail-viewer/imap-mail-app/public/index.html

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,15 +222,18 @@
222222
.mail-list-container {
223223
flex: 1;
224224
display: flex;
225-
flex-direction: column;
225+
flex-direction: row;
226226
overflow: hidden;
227227
}
228228

229229
.mail-list-pane {
230-
height: 45%;
230+
width: 320px;
231+
min-width: 260px;
232+
max-width: 400px;
231233
overflow-y: auto;
232-
border-bottom: 1px solid var(--embed-border);
234+
border-right: 1px solid var(--embed-border);
233235
background: transparent;
236+
flex-shrink: 0;
234237
}
235238

236239
.mail-row {
@@ -289,6 +292,7 @@
289292
flex: 1;
290293
overflow-y: auto;
291294
background: rgba(255,255,255,0.96);
295+
height: 100%;
292296
}
293297

294298
.load-more-btn {
@@ -789,6 +793,19 @@
789793
border-radius: var(--embed-radius-sm);
790794
}
791795

796+
.mail-list-container {
797+
flex-direction: column;
798+
}
799+
800+
.mail-list-pane {
801+
width: 100%;
802+
min-width: 0;
803+
max-width: none;
804+
border-right: none;
805+
border-bottom: 1px solid var(--embed-border);
806+
flex-shrink: 1;
807+
}
808+
792809
.mail-list-pane,
793810
.mail-detail {
794811
min-height: calc(100dvh - 280px);

0 commit comments

Comments
 (0)