diff --git a/packages/patched-derivations.nix b/packages/patched-derivations.nix index 15c08fc..f21413a 100644 --- a/packages/patched-derivations.nix +++ b/packages/patched-derivations.nix @@ -42,4 +42,6 @@ super: rec { tilix-high-refresh-rate = super.tilix.override { gtkd = super.gtkd.override { vte = vte-high-refresh-rate; }; }; blackbox-high-refresh-rate = super.blackbox-terminal.override { vte-gtk4 = vte-gtk4-high-refresh-rate; }; + + textpieces = patch' (super.textpieces.overrideAttrs { meta.broken = false; }); } diff --git a/patches/base/textpieces/GHPR_138.patch b/patches/base/textpieces/GHPR_138.patch new file mode 100644 index 0000000..31a3fdf --- /dev/null +++ b/patches/base/textpieces/GHPR_138.patch @@ -0,0 +1,26 @@ +diff --git a/resources/ui/Editor.blp b/resources/ui/Editor.blp +index b98edc7..5c3f993 100644 +--- a/resources/ui/Editor.blp ++++ b/resources/ui/Editor.blp +@@ -42,7 +42,7 @@ template TextPiecesEditor : Adw.Bin { + hexpand: false; + width-request: 300; + margin-top: 5; +- margin-bottom: 2.5; ++ margin-bottom: 3; + margin-start: 5; + margin-end: 10; + spacing: 3; +diff --git a/resources/ui/SearchBar.blp b/resources/ui/SearchBar.blp +index d810558..b7d9232 100644 +--- a/resources/ui/SearchBar.blp ++++ b/resources/ui/SearchBar.blp +@@ -15,7 +15,7 @@ template TextPiecesSearchBar : Adw.Bin { + ] + + margin-top: 5; +- margin-bottom: 2.5; ++ margin-bottom: 3; + margin-start: 5; + margin-end: 10; + row-spacing: 6;