diff --git a/akkoma-fe/0005-fix-emoji-widths.patch b/akkoma-fe/0005-fix-emoji-widths.patch new file mode 100644 index 0000000..986f679 --- /dev/null +++ b/akkoma-fe/0005-fix-emoji-widths.patch @@ -0,0 +1,15 @@ +diff --git a/src/components/still-image/still-image.vue b/src/components/still-image/still-image.vue +index 074a8eef..15a15633 100644 +--- a/src/components/still-image/still-image.vue ++++ b/src/components/still-image/still-image.vue +@@ -63,6 +63,10 @@ + } + } + ++ &.emoji img, &.reaction-emoji img { ++ width: auto; ++ } ++ + .image-type-label { + position: absolute; + top: 0.25em; diff --git a/flake.lock b/flake.lock index 90150d5..b9c339e 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1712388808, - "narHash": "sha256-9ogU4c3vUmuMDoRlbQCeq3OKx0XJmgHcLZ4XywJNYWI=", + "lastModified": 1714314149, + "narHash": "sha256-yNAevSKF4krRWacmLUsLK7D7PlfuY3zF0lYnGYNi9vQ=", "owner": "nixos", "repo": "nixpkgs", - "rev": "fe4295b9ecd88764c1abf6179e03b1a828ca0e9a", + "rev": "cf8cc1201be8bc71b7cbbbdaf349b22f4f99c7ae", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 4016afc..b7bb185 100644 --- a/flake.nix +++ b/flake.nix @@ -75,6 +75,7 @@ ./akkoma-fe/0002-move-notifications.patch ./akkoma-fe/0003-en_3pp.patch ./akkoma-fe/0004-more-copy-buttons.patch + ./akkoma-fe/0005-fix-emoji-widths.patch ]; patchFlags = "-p1 -F5"; });