Skip to content

Commit 746ce1b

Browse files
author
Frank
committed
added soln
1 parent e66c098 commit 746ce1b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/textual/widgets/_text_area.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,10 @@ class TextArea(ScrollView):
115115
width: 1fr;
116116
height: 1fr;
117117
border: tall $border-blurred;
118-
padding: 0 1;
118+
/* Remove right padding so the vertical scrollbar aligns consistently
119+
with other scrollable widgets (Tree, OptionList, VerticalScroll).
120+
Issue: Textualize/textual#5954 */
121+
padding: 0;
119122
color: $foreground;
120123
background: $surface;
121124
&.-textual-compact {

0 commit comments

Comments
 (0)