From 11519625ed1599bc24394a27b727b57be5c9c396 Mon Sep 17 00:00:00 2001 From: Lindsay M <126139086+lindsaym-fa@users.noreply.github.com> Date: Fri, 18 Jul 2025 09:47:24 -0400 Subject: [PATCH] Use margin for `` spacing in native buttons (#1197) --- packages/webawesome/docs/docs/utilities/native.md | 13 +++++++++++++ packages/webawesome/src/styles/native.css | 11 ++++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/packages/webawesome/docs/docs/utilities/native.md b/packages/webawesome/docs/docs/utilities/native.md index 6d0759dfc..cfeb25f89 100644 --- a/packages/webawesome/docs/docs/utilities/native.md +++ b/packages/webawesome/docs/docs/utilities/native.md @@ -380,6 +380,19 @@ Add the `wa-pill` class to give buttons rounded edges. ``` +When using `` within a button, wrap adjacent label text in `` or similar to automatically add margin between the icon and the label, just like the `start` and `end` slots of ``. + +```html {.example} + + +``` + ### Form controls Create a variety of form controls with ``, `