diff --git a/src/Resources/Styles.axaml b/src/Resources/Styles.axaml
index c08922e1..b0797692 100644
--- a/src/Resources/Styles.axaml
+++ b/src/Resources/Styles.axaml
@@ -40,21 +40,83 @@
-
-
diff --git a/src/Views/ChromelessWindow.cs b/src/Views/ChromelessWindow.cs
index 7c4178c2..434d22d4 100644
--- a/src/Views/ChromelessWindow.cs
+++ b/src/Views/ChromelessWindow.cs
@@ -49,7 +49,7 @@ namespace SourceGit.Views
private void OnWindowBorderPointerPressed(object sender, PointerPressedEventArgs e)
{
- if (sender is Border border && border.Tag is WindowEdge edge)
+ if (sender is Border border && border.Tag is WindowEdge edge && CanResize)
BeginResizeDrag(edge, e);
}
}