Skip to content

Commit 0a5795d

Browse files
committed
chore: remove trailing spaces in Input CSS
1 parent fa55d14 commit 0a5795d

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/textual/widgets/_input.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,8 @@ class Input(ScrollView):
192192
}
193193
194194
&:focus {
195-
border: tall $border;
195+
border: tall $border;
196196
background-tint: $foreground 5%;
197-
198197
}
199198
&>.input--cursor {
200199
background: $input-cursor-background;
@@ -212,12 +211,12 @@ class Input(ScrollView):
212211
}
213212
&.-invalid:focus {
214213
border: tall $error;
215-
}
214+
}
216215
217216
&:ansi {
218217
background: ansi_default;
219218
color: ansi_default;
220-
&>.input--cursor {
219+
&>.input--cursor {
221220
text-style: reverse;
222221
}
223222
&>.input--placeholder, &>.input--suggestion {
@@ -229,8 +228,7 @@ class Input(ScrollView):
229228
}
230229
&.-invalid:focus {
231230
border: tall ansi_red;
232-
}
233-
231+
}
234232
}
235233
}
236234

0 commit comments

Comments
 (0)