1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-15 07:43:37 +00:00

PM-5912 Added default min height and corner radius for iOS buttons. Also removed incorrect style class from one button. (#3031)

This commit is contained in:
Dinis Vieira
2024-02-26 22:23:06 +00:00
committed by GitHub
parent 8584bbaecc
commit 2a28294f91
2 changed files with 4 additions and 7 deletions

View File

@@ -85,7 +85,6 @@
<Button <Button
Text="{u:I18n DenyLogIn}" Text="{u:I18n DenyLogIn}"
Command="{Binding RejectRequestCommand}" Command="{Binding RejectRequestCommand}"
StyleClass="btn-secundary"
AutomationId="DenyLoginButton" /> AutomationId="DenyLoginButton" />
</StackLayout> </StackLayout>

View File

@@ -143,6 +143,10 @@
Value="Medium" /> Value="Medium" />
<Setter Property="Margin" <Setter Property="Margin"
Value="0, 5, 0, 0" /> Value="0, 5, 0, 0" />
<Setter Property="CornerRadius"
Value="5" />
<Setter Property="MinimumHeightRequest"
Value="45" />
<Setter Property="VisualStateManager.VisualStateGroups"> <Setter Property="VisualStateManager.VisualStateGroups">
<VisualStateGroupList> <VisualStateGroupList>
<VisualStateGroup x:Name="CommonStates"> <VisualStateGroup x:Name="CommonStates">
@@ -183,10 +187,6 @@
Value="Bold" /> Value="Bold" />
<Setter Property="Margin" <Setter Property="Margin"
Value="0, 5, 0, 0" /> Value="0, 5, 0, 0" />
<Setter Property="CornerRadius"
Value="5" />
<Setter Property="MinimumHeightRequest"
Value="45" />
<Setter Property="VisualStateManager.VisualStateGroups"> <Setter Property="VisualStateManager.VisualStateGroups">
<VisualStateGroupList> <VisualStateGroupList>
<VisualStateGroup x:Name="CommonStates"> <VisualStateGroup x:Name="CommonStates">
@@ -223,8 +223,6 @@
Value="{DynamicResource ButtonTextColorOpacity}" /> Value="{DynamicResource ButtonTextColorOpacity}" />
<Setter Property="FontSize" <Setter Property="FontSize"
Value="Medium" /> Value="Medium" />
<Setter Property="CornerRadius"
Value="5" />
<Setter Property="VisualStateManager.VisualStateGroups"> <Setter Property="VisualStateManager.VisualStateGroups">
<VisualStateGroupList> <VisualStateGroupList>
<VisualStateGroup x:Name="CommonStates"> <VisualStateGroup x:Name="CommonStates">