fix: migrate tabs shortcode to new standard syntax (#906)
* doc(tabs): update shortcode syntax to use new syntax - Changed tab shortcode syntax from `items` to `name` for better clarity and consistency in multiple language documentation. - Updated related examples in Persian, Japanese, and Simplified Chinese to reflect the new syntax. - Adjusted the sidebar CSS to correct a z-index value for improved layout behavior on mobile devices. * fix(sidebar, toc): update CSS classes for improved layout and text wrapping - Adjusted the sidebar CSS class to use a new transform syntax for better compatibility. - Updated the table of contents link class to ensure proper text wrapping behavior. * chore: recompile css * fix(css): update CSS classes for improved text wrapping - Changed `break-words` to `wrap-break-word` in multiple CSS files to enhance text wrapping behavior. - Adjusted the `.hextra-code-filename` and typography styles for better compatibility and consistency.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
.hextra-search-wrapper {
|
||||
li {
|
||||
@apply hx:mx-2.5 hx:break-words hx:rounded-md hx:contrast-more:border hx:text-gray-800 hx:contrast-more:border-transparent hx:dark:text-gray-300;
|
||||
@apply hx:mx-2.5 hx:wrap-break-word hx:rounded-md hx:contrast-more:border hx:text-gray-800 hx:contrast-more:border-transparent hx:dark:text-gray-300;
|
||||
a {
|
||||
@apply hx:focus-visible:outline-none hx:focus:outline-none hx:block hx:scroll-m-12 hx:px-2.5 hx:py-2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user