From 1b4a219ac0d681c8a93c77c21bb9c62de42bfcd8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pawe=C5=82=20Kuna?=
<1282324+codecalm@users.noreply.github.com>
Date: Wed, 30 Sep 2026 01:00:28 +0200
Subject: [PATCH] Add `.icon-inline` to icons shown in a line of text (#3248)
---
.changeset/icon-inline-in-text.md | 6 ++++++
docs/content/icons/static-files/svg.mdx | 2 +-
docs/content/ui/components/card.mdx | 2 +-
docs/content/ui/components/datagrid.mdx | 2 +-
docs/content/ui/layout/page-headers.mdx | 6 +++---
preview/pages/all-elements.astro | 10 +++++-----
preview/pages/license.astro | 14 +++++++-------
preview/pages/tasks-list.astro | 4 ++--
shared/components/cards/Configuration.astro | 2 +-
shared/components/cards/GalleryPhoto.astro | 4 ++--
shared/components/cards/Invoices.astro | 2 +-
shared/components/cards/MostVisitedPages.astro | 2 +-
shared/components/cards/PricingCard.astro | 2 +-
shared/components/cards/SmallStats.astro | 2 +-
shared/components/cards/Tasks.astro | 4 ++--
shared/components/cards/UserInfo.astro | 12 ++++++------
shared/components/parts/Datagrid.astro | 2 +-
shared/components/parts/Tasks.astro | 12 ++++++------
shared/ui/DocsLink.astro | 2 +-
19 files changed, 49 insertions(+), 43 deletions(-)
create mode 100644 .changeset/icon-inline-in-text.md
diff --git a/.changeset/icon-inline-in-text.md b/.changeset/icon-inline-in-text.md
new file mode 100644
index 000000000..cc159dac2
--- /dev/null
+++ b/.changeset/icon-inline-in-text.md
@@ -0,0 +1,6 @@
+---
+"@tabler/preview": patch
+"@tabler/docs": patch
+---
+
+Added `.icon-inline` to icons that sit in a line of text in the demo cards, preview pages and docs examples.
diff --git a/docs/content/icons/static-files/svg.mdx b/docs/content/icons/static-files/svg.mdx
index e013b4030..144daf89e 100644
--- a/docs/content/icons/static-files/svg.mdx
+++ b/docs/content/icons/static-files/svg.mdx
@@ -35,7 +35,7 @@ When you load an icon as an image, set its size with CSS.
Paste the content of the SVG file into your HTML to render it inline.