Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed doc links to Text and Label #2399

Merged
merged 1 commit into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/website/src/content/docs/anchor.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ If you do ultimately decide based on your research that it is beneficial to open

By default, an anchor is only underlined when hovered, with a few exceptions:

1. Anchors inside a [`Text`](https://itwinui.bentley.com/docs/typography#text) component are underlined by default.
1. Anchors inside a [`Text`](/docs/text) component are underlined by default.
2. All anchors are underlined by default when using a high-contrast theme.

For [better accessibility](https://adrianroselli.com/2016/06/on-link-underlines.html#recommendation), it is recommended to explicitly make the anchor underlined in all themes, even when used outside `Text`. This can be achieved using the `underline` prop.
Expand Down
2 changes: 1 addition & 1 deletion apps/website/src/content/docs/combobox.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ If you expect the combobox to have a very long list of items, you can set `enabl

### Labels

You can use a [Label](typography#label) component alongside the combobox to add a label. Note that passing the same id to the label as `htmlFor` and to the combobox as `id` in `inputProps` will allow users to open the combobox by clicking on the label.
You can use a [Label](/docs/label) component alongside the combobox to add a label. Note that passing the same id to the label as `htmlFor` and to the combobox as `id` in `inputProps` will allow users to open the combobox by clicking on the label.

<LiveExample src='ComboBox.label.jsx'>
<AllExamples.ComboBoxLabelExample client:load />
Expand Down
2 changes: 1 addition & 1 deletion apps/website/src/content/docs/inputgrid.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ InputGrid is a layout component that allows to group label, form field and statu

You can add any form field (eg. Select, ComboBox or InputWithDecorations).

We recommend [Label](typography#label) and [StatusMessage](statusmessage) components with this layout.
We recommend [Label](/docs/label) and [StatusMessage](statusmessage) components with this layout.

<LiveExample src='InputGrid.select.jsx'>
<AllExamples.InputGridSelectExample client:load />
Expand Down
Loading