From c0af4581aa1d7d702f97b9a3821dcea311d3dd0a Mon Sep 17 00:00:00 2001 From: diondiondion Date: Mon, 8 Sep 2025 14:53:23 +0200 Subject: [PATCH] Visibility dialog: Add visual dropdown indicator to Dropdown component (#36052) --- app/javascript/mastodon/components/dropdown/index.tsx | 10 +++++++++- app/javascript/styles/mastodon/components.scss | 9 +++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/app/javascript/mastodon/components/dropdown/index.tsx b/app/javascript/mastodon/components/dropdown/index.tsx index c7fee4a39..487850fa7 100644 --- a/app/javascript/mastodon/components/dropdown/index.tsx +++ b/app/javascript/mastodon/components/dropdown/index.tsx @@ -8,8 +8,11 @@ import classNames from 'classnames'; import Overlay from 'react-overlays/Overlay'; +import UnfoldMoreIcon from '@/material-icons/400-24px/unfold_more.svg?react'; + import type { SelectItem } from '../dropdown_selector'; import { DropdownSelector } from '../dropdown_selector'; +import { Icon } from '../icon'; import { matchWidth } from './utils'; @@ -77,11 +80,16 @@ export const Dropdown: FC< defaultMessage='Select an option' /> )} +