Spaces:
Running
Running
Sync from felladrin/MiniSearch@74613ff (part 2)
Browse files107 unmodified lines10810911011111211311411555 unmodified lines171172173174175176177178179180181107 unmodified linesβββ AccessPage (if access keys enabled)βββ MainPageβββ SearchFormβ βββ DictationButton (floats inside the query field)β βββ clear button (floats inside the query field, right of the microphone)β βββ QuickSettingsMenu (popover opened from the button row)β β βββ HistoryButtonβ β β βββ HistoryDrawer (lazy-loaded)55 unmodified linesThe query field is wrapped in its own `position: relative` element so`DictationButton` anchors to the field rather than to the form, and stays putwhen the row of buttons below the field changes height. The clear buttonfloats in the same element, at the field's right edge, and the space it takesis reserved whether or not the field holds text: the microphone never moves,so a transcript arriving in an empty field cannot slide it into the clearbutton, or the other way round.The button row keeps only `QuickSettingsMenu`, `Search` and whatever the pageadds (`MenuButton`). Everything else that used to sit there lives in the quick107 unmodified lines10810911011111211311411555 unmodified lines171172173174175176177178179180181182107 unmodified linesβββ AccessPage (if access keys enabled)βββ MainPageβββ SearchFormβ βββ clear button (floats inside the query field, left of the microphone)β βββ DictationButton (floats inside the query field, at its right end)β βββ QuickSettingsMenu (popover opened from the button row)β β βββ HistoryButtonβ β β βββ HistoryDrawer (lazy-loaded)55 unmodified linesThe query field is wrapped in its own `position: relative` element so`DictationButton` anchors to the field rather than to the form, and stays putwhen the row of buttons below the field changes height. The microphone takesthe field's right edge, where it stays whether or not the field holds text, soa transcript arriving in an empty field cannot slide it out from under thepointer. The clear button floats in the same element, to the microphone'sleft, and shows only while there is text; the space it takes is reserved evenwhen it is hidden, so the text does not reflow under it.The button row keeps only `QuickSettingsMenu`, `Search` and whatever the pageadds (`MenuButton`). Everything else that used to sit there lives in the quick
docs/ui-components.md+8-7