Skip to content

Commit 2649cb9

Browse files
author
haotool
committed
fix(popup): restore original min-height for proper content display
- Change height: 420px back to min-height: 420px - Remove max-height constraint - Simplify main-view to display: block - Allow popup to fit content naturally
1 parent 270788c commit 2649cb9

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/popup/index.html

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -139,22 +139,18 @@
139139
background: var(--bg-base);
140140
color: var(--text-primary);
141141
width: 340px;
142-
height: 420px;
143-
max-height: 600px;
144-
overflow: hidden;
142+
min-height: 420px;
143+
overflow-x: hidden;
145144
display: flex;
146145
flex-direction: column;
147146
-webkit-font-smoothing: antialiased;
148147
-moz-osx-font-smoothing: grayscale;
149148
}
150149

151150
#main-view {
152-
display: flex;
153-
flex-direction: column;
151+
display: block;
154152
flex: 1;
155153
min-height: 0;
156-
overflow-y: auto;
157-
overflow-x: hidden;
158154
}
159155

160156
body.settings-open #main-view {

0 commit comments

Comments
 (0)