diff --git a/web/avatars/emoji-avatar-selection-modal.css b/web/avatars/emoji-avatar-selection-modal.css index dd6306a9f5..dfa948d499 100644 --- a/web/avatars/emoji-avatar-selection-modal.css +++ b/web/avatars/emoji-avatar-selection-modal.css @@ -1,7 +1,10 @@ -div.modalBody { +div.modalContainer { display: flex; flex-direction: column; overflow: hidden; +} + +div.modalBody { padding: 20px; } diff --git a/web/avatars/emoji-avatar-selection-modal.react.js b/web/avatars/emoji-avatar-selection-modal.react.js index 567294c76c..253bcfe384 100644 --- a/web/avatars/emoji-avatar-selection-modal.react.js +++ b/web/avatars/emoji-avatar-selection-modal.react.js @@ -21,11 +21,14 @@ import type { import Avatar from './avatar.react.js'; import css from './emoji-avatar-selection-modal.css'; import Button, { buttonThemes } from '../components/button.react.js'; +import Tabs from '../components/tabs.react.js'; import LoadingIndicator from '../loading-indicator.react.js'; import Modal from '../modals/modal.react.js'; import ColorSelector from '../modals/threads/color-selector.react.js'; import { useSelector } from '../redux/redux-utils.js'; +type TabType = 'emoji' | 'color'; + function EmojiAvatarSelectionModal(): React.Node { const { popModal } = useModalContext(); @@ -110,9 +113,11 @@ function EmojiAvatarSelectionModal(): React.Node { saveButtonContent = 'Save Avatar'; } + const [currentTabType, setCurrentTabType] = React.useState('emoji'); + return ( -
+
-
- -
-
- -
-
- + + +
+
+ +