From: Jay Sitter Date: Sun, 2 Jul 2023 15:20:02 +0000 (-0400) Subject: fix: Fix vote buttons in list view variable width X-Git-Url: http://these/git/README.es.md?a=commitdiff_plain;h=a72cc6807ed7da8238e0e0e9ac80fbd694ecd793;p=lemmy-ui.git fix: Fix vote buttons in list view variable width --- diff --git a/src/assets/css/main.css b/src/assets/css/main.css index e5c163b..648e76d 100644 --- a/src/assets/css/main.css +++ b/src/assets/css/main.css @@ -81,6 +81,7 @@ } .vote-bar { + min-width: 5ch; margin-top: -6.5px; } diff --git a/src/shared/components/common/vote-buttons.tsx b/src/shared/components/common/vote-buttons.tsx index 372a329..69df94b 100644 --- a/src/shared/components/common/vote-buttons.tsx +++ b/src/shared/components/common/vote-buttons.tsx @@ -174,7 +174,7 @@ export class VoteButtons extends Component { render() { return ( -
+
{showScores() ? (
{numToSI(this.props.counts.score)}