mirror of
https://github.com/hunvreus/basecoat.git
synced 2026-11-16 06:58:20 +00:00
Prepare 1.0.0-beta.3
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Scroll Area
|
||||
|
||||
<Preview class="w-full">
|
||||
<div class="scrollbar h-72 w-full max-w-sm overflow-y-auto rounded-md border p-4">
|
||||
<Preview class="w-full max-w-42">
|
||||
<div class="scrollbar h-72 overflow-y-auto rounded-md border p-4">
|
||||
<div class="space-y-4">
|
||||
<h4 class="text-sm leading-none font-medium">Tags</h4>
|
||||
<div class="text-sm">
|
||||
@@ -43,7 +43,7 @@ The utility augments native scrolling for cross-browser styling. It does not wra
|
||||
|
||||
Use `scrollbar` with `overflow-x-auto` for horizontal scrolling.
|
||||
|
||||
<Preview class="w-full">
|
||||
<Preview>
|
||||
<div class="scrollbar w-full max-w-sm overflow-x-auto rounded-md border">
|
||||
<div class="flex w-max gap-4 p-4">
|
||||
<figure class="shrink-0">
|
||||
@@ -66,7 +66,7 @@ Use `scrollbar` with `overflow-x-auto` for horizontal scrolling.
|
||||
|
||||
Use `scrollbar-thin` for compact scrollable regions like menus, listboxes, sidebars, and command results.
|
||||
|
||||
<Preview class="w-full">
|
||||
<Preview class="w-full max-w-64">
|
||||
<div class="w-full max-w-sm rounded-md border p-1">
|
||||
<div class="px-2 py-1.5 text-xs font-medium text-muted-foreground">Recent files</div>
|
||||
<div class="scrollbar-thin max-h-48 overflow-y-auto">
|
||||
@@ -106,8 +106,8 @@ Use `scrollbar-thin` for compact scrollable regions like menus, listboxes, sideb
|
||||
|
||||
Set `dir="rtl"` on the scrollable element or one of its ancestors to use right-to-left layout.
|
||||
|
||||
<Preview class="w-full">
|
||||
<div dir="rtl" class="scrollbar h-72 w-full max-w-sm overflow-y-auto rounded-md border p-4">
|
||||
<Preview class="w-full max-w-42">
|
||||
<div dir="rtl" class="scrollbar h-72 overflow-y-auto rounded-md border p-4">
|
||||
<div class="space-y-4">
|
||||
<h4 class="text-sm leading-none font-medium">العلامات</h4>
|
||||
<div class="text-sm">
|
||||
|
||||
Reference in New Issue
Block a user