From 316e0f4cb8e0ccd14f71ed6a8c42904fd5766feb Mon Sep 17 00:00:00 2001 From: Katie Langerman <18661030+langermank@users.noreply.github.com> Date: Tue, 23 Jan 2024 21:36:41 -0800 Subject: [PATCH] Update button.pcss (#2532) --- .changeset/weak-walls-sip.md | 5 +++++ app/components/primer/beta/button.pcss | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/weak-walls-sip.md diff --git a/.changeset/weak-walls-sip.md b/.changeset/weak-walls-sip.md new file mode 100644 index 0000000000..a623c0f676 --- /dev/null +++ b/.changeset/weak-walls-sip.md @@ -0,0 +1,5 @@ +--- +"@primer/view-components": patch +--- + +- add min-width to Button diff --git a/app/components/primer/beta/button.pcss b/app/components/primer/beta/button.pcss index 2e585e9466..2977e134c9 100644 --- a/app/components/primer/beta/button.pcss +++ b/app/components/primer/beta/button.pcss @@ -22,6 +22,7 @@ transition-property: color, fill, background-color, border-color; text-align: center; min-height: var(--control-medium-size); + min-width: fit-content; padding: 0 var(--control-medium-paddingInline-normal); display: inline-flex; flex-direction: row;