Skip to content

Commit ca434f7

Browse files
authored
Update styles.module.css
1 parent fe44c4f commit ca434f7

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/components/InteractivePython/styles.module.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@
148148

149149
.terminalInput {
150150
flex: 1;
151+
min-width: 0; /* Prevents input from overflowing flex container on mobile */
151152
background: transparent;
152153
border: none;
153154
outline: none;
@@ -192,14 +193,15 @@
192193
font-size: 0.85rem;
193194
padding: 0.85rem 1rem;
194195
}
195-
196+
196197
.promptText,
197198
.terminalInput {
198199
font-size: 0.85rem;
199200
}
200201

201202
.inputForm {
202-
padding: 0.6rem 1rem;
203+
padding: 0.6rem 0.8rem;
204+
flex-wrap: wrap; /* Allows wrap on tight screens to keep button visible */
203205
}
204206
}
205207

0 commit comments

Comments
 (0)