Skip to content

Commit

Permalink
feat: remove FieldButton, fix Button
Browse files Browse the repository at this point in the history
BREAKING CHANGE: .spectrum-FieldButton has been removed, use .spectrum-ActionButton instead
  • Loading branch information
lazd authored and GarthDB committed Dec 1, 2020
1 parent 91f6e09 commit 44026f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 182 deletions.
181 changes: 0 additions & 181 deletions components/button/fieldbutton.css

This file was deleted.

4 changes: 3 additions & 1 deletion components/button/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ governing permissions and limitations under the License.
@import "../vars/css/components/spectrum-button.css";

/* include the other button components that have been broken out */
@import "./fieldbutton.css";
@import "./logicbutton.css";
@import "./clearbutton.css";

Expand All @@ -28,6 +27,9 @@ governing permissions and limitations under the License.

/* Adjust padding to make things look right */
--spectrum-button-padding-y: calc(var(--spectrum-button-primary-text-padding-top) - 1px);

/* todo: remove when fixed in DNA */
--spectrum-button-primary-min-width: var(--spectrum-global-dimension-size-900);
}

.spectrum-Button {
Expand Down

0 comments on commit 44026f8

Please sign in to comment.