Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 6e092aa

Browse files
authored
Merge pull request #1845 from github/fixes/1777-single-line-description
Make publish repository description only accept a single line
2 parents 47b4a44 + 8376d12 commit 6e092aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/GitHub.VisualStudio/Views/TeamExplorer/RepositoryPublishView.xaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,16 +115,16 @@
115115

116116
<Grid>
117117
<ghfvs:PromptTextBox x:Name="description"
118-
Height="52"
118+
Height="23"
119119
Margin="0,8,0,0"
120-
AcceptsReturn="True"
121120
Background="{DynamicResource GitHubVsSearchBoxBackground}"
122121
Foreground="{DynamicResource GitHubVsWindowText}"
123122
Text="{Binding Description}"
124123
TextWrapping="WrapWithOverflow"
125124
PromptText="{x:Static prop:Resources.DescriptionOptional}"
126125
SpellCheck.IsEnabled="True"
127-
AutomationProperties.AutomationId="{x:Static ghfvs:AutomationIDs.TeamExplorerPublishRepositoryDescriptionTextBox}" />
126+
AutomationProperties.AutomationId="{x:Static ghfvs:AutomationIDs.TeamExplorerPublishRepositoryDescriptionTextBox}"
127+
VerticalContentAlignment="Center" />
128128
</Grid>
129129

130130
<CheckBox x:Name="makePrivate"

0 commit comments

Comments
 (0)