diff --git a/.changeset/fix-alert-icons-docs-example.md b/.changeset/fix-alert-icons-docs-example.md new file mode 100644 index 000000000..1010cd770 --- /dev/null +++ b/.changeset/fix-alert-icons-docs-example.md @@ -0,0 +1,5 @@ +--- +"@tabler/docs": patch +--- + +Fixed the missing icon spacing in the "Alerts with icons" example on the alert docs page. diff --git a/.changeset/fix-stretched-link-btn.md b/.changeset/fix-stretched-link-btn.md new file mode 100644 index 000000000..b93fa5c31 --- /dev/null +++ b/.changeset/fix-stretched-link-btn.md @@ -0,0 +1,5 @@ +--- +"@tabler/core": patch +--- + +Fixed `.stretched-link` on a `.btn` so the link covers its whole container instead of only the button. diff --git a/.changeset/fix-table-dropdown-clipping.md b/.changeset/fix-table-dropdown-clipping.md new file mode 100644 index 000000000..2199fae01 --- /dev/null +++ b/.changeset/fix-table-dropdown-clipping.md @@ -0,0 +1,5 @@ +--- +"@tabler/preview": patch +--- + +Fixed the actions dropdown in the tables and invoices demos being cut off by `.table-responsive`. diff --git a/core/scss/helpers/_index.scss b/core/scss/helpers/_index.scss index 2e27153e1..b0b173c10 100644 --- a/core/scss/helpers/_index.scss +++ b/core/scss/helpers/_index.scss @@ -41,6 +41,11 @@ z-index: 1; content: ''; } + + // .btn is positioned, which would make the button itself the containing block + &.btn { + position: static; + } } // diff --git a/docs/content/ui/components/alert.mdx b/docs/content/ui/components/alert.mdx index 65054684d..17c31fe2d 100644 --- a/docs/content/ui/components/alert.mdx +++ b/docs/content/ui/components/alert.mdx @@ -113,60 +113,43 @@ Add a close button to let the user dismiss the alert. It stays on the page until An icon in front of the text repeats the type of the alert, which helps when several alerts are on the page. -Use the `alert-icon` class on an `` (or on an `` when using the webfont) to provide the proper styling. +Put the icon in an `alert-icon` wrapper as the first child of the alert, and the heading and text in a second element next to it. The alert lays its children out in a row, so no extra flex wrapper is needed.