Skip to content

Commit 54c733b

Browse files
committed
ux: sometimes padding is not work
Signed-off-by: leo <longshuang@msn.cn>
1 parent 0b0882b commit 54c733b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Views/Repository.axaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,8 @@
133133
<TextBlock Grid.Column="1" Classes="header" Text="{DynamicResource Text.WorkingCopy}"/>
134134
<Border Grid.Column="2"
135135
Height="18"
136+
Margin="6,0" Padding="9,0"
136137
CornerRadius="9"
137-
Padding="9,0"
138-
Margin="6,0"
139138
VerticalAlignment="Center"
140139
Background="{DynamicResource Brush.Badge}"
141140
IsVisible="{Binding LocalChangesCount, Mode=OneWay, Converter={x:Static c:IntConverters.IsGreaterThanZero}}">
@@ -166,9 +165,8 @@
166165
<TextBlock Grid.Column="1" Classes="header" Text="{DynamicResource Text.Stashes}"/>
167166
<Border Grid.Column="2"
168167
Height="18"
168+
Margin="6,0" Padding="9,0"
169169
CornerRadius="9"
170-
Padding="6,0"
171-
Margin="6,0"
172170
VerticalAlignment="Center"
173171
Background="{DynamicResource Brush.Badge}"
174172
IsVisible="{Binding StashesCount, Mode=OneWay, Converter={x:Static c:IntConverters.IsGreaterThanZero}}">

0 commit comments

Comments
 (0)