Skip to content

Commit 495618b

Browse files
coliffCopilot
andauthored
v6: minor docs fixes (#42385)
* Adjust toast copy, placeholder, and font var Update docs and styles: change toast example text to use "accent" wording, mark the default toast placement option as disabled to prevent it being selected as a valid value, and switch the table font variable from --bs-font-monospace to the standardized --bs-font-mono in _content.scss. * fix typo Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 839cd8e commit 495618b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

site/src/content/docs/components/toasts.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ Toasts can be themed with our [theme color utilities]([[docsref:/customize/theme
193193
<CloseButton dismiss="toast" />
194194
</div>
195195
<div class="toast-body">
196-
This toast is a primary themed toast.
196+
This toast is an accent-themed toast.
197197
<div class="hstack gap-2 mt-2">
198198
<button type="button" class="btn-solid btn-sm">Take action</button>
199199
<button type="button" class="btn-solid theme-secondary btn-sm" data-bs-dismiss="toast">Close</button>
@@ -235,7 +235,7 @@ Place toasts with custom CSS as you need them. The top right is often used for n
235235
<div class="mb-3">
236236
<label for="selectToastPlacement">Toast placement</label>
237237
<select class="form-control mt-2" id="selectToastPlacement">
238-
<option value="" selected>Select a position...</option>
238+
<option value="" selected disabled>Select a position...</option>
239239
<option value="top-0 start-0">Top left</option>
240240
<option value="top-0 start-50 translate-middle-x">Top center</option>
241241
<option value="top-0 end-0">Top right</option>

site/src/scss/_content.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
}
4646

4747
td {
48-
font-family: var(--bs-font-monospace);
48+
font-family: var(--bs-font-mono);
4949

5050
&:first-child {
5151
padding-inline-end: 1.5rem;

0 commit comments

Comments
 (0)