mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
ux: make Welcome page responsive (#821)
This commit is contained in:
parent
f418b72c64
commit
707a227aca
1 changed files with 132 additions and 133 deletions
|
@ -9,8 +9,8 @@
|
|||
x:Class="SourceGit.Views.Welcome"
|
||||
x:DataType="vm:Welcome">
|
||||
<Grid RowDefinitions="*,36">
|
||||
<Grid Grid.Row="0" Margin="0,8" ColumnDefinitions="*,600,*">
|
||||
<Grid Grid.Column="1" RowDefinitions="Auto,*">
|
||||
<!-- Managed Repositories -->
|
||||
<Grid Grid.Column="1" MinWidth="600" Margin="8" RowDefinitions="Auto,*" HorizontalAlignment="Center">
|
||||
<!-- Search Box -->
|
||||
<TextBox Grid.Row="0"
|
||||
x:Name="SearchBox"
|
||||
|
@ -140,19 +140,18 @@
|
|||
IsVisible="{Binding IsInvalid}"/>
|
||||
</StackPanel>
|
||||
|
||||
<TextBlock Grid.Column="3"
|
||||
Classes="primary"
|
||||
Margin="8,0"
|
||||
HorizontalAlignment="Right" VerticalAlignment="Center"
|
||||
<Border Grid.Column="3" Margin="8,0" VerticalAlignment="Center" ClipToBounds="True">
|
||||
<TextBlock Classes="primary"
|
||||
HorizontalAlignment="Right"
|
||||
Foreground="{DynamicResource Brush.FG2}"
|
||||
Text="{Binding Id, Converter={x:Static c:PathConverters.RelativeToHome}}"
|
||||
IsVisible="{Binding IsRepository}"/>
|
||||
</Border>
|
||||
</Grid>
|
||||
</DataTemplate>
|
||||
</ListBox.ItemTemplate>
|
||||
</v:RepositoryListBox>
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
||||
<!-- Tips -->
|
||||
<TextBlock Grid.Row="1"
|
||||
|
|
Loading…
Reference in a new issue