Follow-on to https://github.com/sjdemartini/mui-tiptap/pull/69, MenuSelectTextAlign is an alternative to the individual MenuButtonAlign* components, which is more horizontally compact (similar to what Google Docs uses for text alignment selection):
That select component as well as MenuHeadingSelect (to be renamed later for consistency) now use improved/DRY styles, so they take up less visual space, and so that the unfocused/unhovered state looks more consistent with the menu buttons (no border shown).
Follow-on to https://github.com/sjdemartini/mui-tiptap/pull/69,
MenuSelectTextAlign
is an alternative to the individualMenuButtonAlign*
components, which is more horizontally compact (similar to what Google Docs uses for text alignment selection):That select component as well as
MenuHeadingSelect
(to be renamed later for consistency) now use improved/DRY styles, so they take up less visual space, and so that the unfocused/unhovered state looks more consistent with the menu buttons (no border shown).