From 9c3e344ae0323ad98e685f5d8c8e22fe36dde36c Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Tue, 2 May 2023 10:01:25 -0400 Subject: [PATCH] reorder properties --- src/components/button/button.styles.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/button/button.styles.ts b/src/components/button/button.styles.ts index 7886f7fa..54276e73 100644 --- a/src/components/button/button.styles.ts +++ b/src/components/button/button.styles.ts @@ -343,25 +343,25 @@ export default css` */ .button--small { - font-size: var(--sl-button-font-size-small); height: auto; min-height: var(--sl-input-height-small); + font-size: var(--sl-button-font-size-small); line-height: calc(var(--sl-input-height-small) - var(--sl-input-border-width) * 2); border-radius: var(--sl-input-border-radius-small); } .button--medium { - font-size: var(--sl-button-font-size-medium); - min-height: var(--sl-input-height-medium); height: auto; + min-height: var(--sl-input-height-medium); + font-size: var(--sl-button-font-size-medium); line-height: calc(var(--sl-input-height-medium) - var(--sl-input-border-width) * 2); border-radius: var(--sl-input-border-radius-medium); } .button--large { - font-size: var(--sl-button-font-size-large); - min-height: var(--sl-input-height-large); height: auto; + min-height: var(--sl-input-height-large); + font-size: var(--sl-button-font-size-large); line-height: calc(var(--sl-input-height-large) - var(--sl-input-border-width) * 2); border-radius: var(--sl-input-border-radius-large); }