Skip to content

Commit f72f75a

Browse files
authored
Merge pull request #91 from vilpessoa/claude/upbeat-cray-S9Ax6
style: ajuste fino de UI no dropdown VisualEdits
2 parents 1afec26 + f7e156e commit f72f75a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/VisualEditsMenu.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ export function VisualEditsMenu({ menu, onSelect, onClose }: Props) {
190190
type="button"
191191
onClick={onClose}
192192
aria-label="Fechar"
193-
className="absolute -top-3 -right-3 z-10 inline-flex h-6 w-6 items-center justify-center rounded-full bg-white dark:bg-zinc-800 border border-border text-muted-foreground hover:text-foreground hover:bg-accent transition-colors"
193+
className="absolute -top-3 -right-3 z-10 flex h-6 w-6 items-center justify-center rounded-full bg-white dark:bg-zinc-800 border border-zinc-200 dark:border-zinc-700 text-zinc-400 dark:text-zinc-500 hover:text-zinc-700 dark:hover:text-zinc-200 hover:bg-zinc-50 dark:hover:bg-zinc-700 transition-colors"
194194
style={{ boxShadow: '0 2px 8px rgba(0,0,0,0.18), 0 1px 3px rgba(0,0,0,0.12)' }}
195195
>
196196
<X className="h-3.5 w-3.5" />
@@ -203,9 +203,9 @@ export function VisualEditsMenu({ menu, onSelect, onClose }: Props) {
203203
</span>
204204
</div>
205205

206-
<div className="py-1 rounded-b-xl overflow-hidden">
206+
<div className="rounded-b-xl overflow-hidden">
207207
{sortedItems.length > 0 && (
208-
<div className="max-h-72 overflow-y-auto">
208+
<div className="pt-1 max-h-72 overflow-y-auto">
209209
{sortedItems.map((c, i) => {
210210
const loc = locOf(c);
211211
const key = `${c.kind}-${loc.start}-${i}`;

0 commit comments

Comments
 (0)