diff --git a/src/Native/Windows.cs b/src/Native/Windows.cs
index 61f3c96a..fa2cf7b1 100644
--- a/src/Native/Windows.cs
+++ b/src/Native/Windows.cs
@@ -67,7 +67,7 @@ namespace SourceGit.Native
{
window.ExtendClientAreaChromeHints = ExtendClientAreaChromeHints.NoChrome;
window.ExtendClientAreaToDecorationsHint = true;
- window.Classes.Add("fix_maximized_padding");
+ window.BorderThickness = new Thickness(1);
Win32Properties.AddWndProcHookCallback(window, (IntPtr hWnd, uint msg, IntPtr _, IntPtr lParam, ref bool handled) =>
{
diff --git a/src/Resources/Styles.axaml b/src/Resources/Styles.axaml
index a03adf6f..651bc950 100644
--- a/src/Resources/Styles.axaml
+++ b/src/Resources/Styles.axaml
@@ -24,25 +24,38 @@
-
-
-