• Robert Knight's avatar
    Fix tabs being detached from tab panel on touch devices · 4fd83bad
    Robert Knight authored
    The `CloseButton` component in @hypothesis/frontend-shared has styling that
    makes it taller (44px) on touch devices, but the `Tab` component does not. Items
    in the `TabHeader` are centered on the cross axis, so on mobile, the close
    button became taller than the tabs and detached them from the tab panel.
    
    An alternative way to fix this would be to make tabs also grow in height on
    touch devices, but they are quite usable without.
    
    Fixes https://github.com/hypothesis/client/issues/6131
    4fd83bad
Name
Last commit
Last update
..
components Loading commit data...
config Loading commit data...
helpers Loading commit data...
services Loading commit data...
store Loading commit data...
test Loading commit data...
util Loading commit data...
cross-origin-rpc.ts Loading commit data...
index.tsx Loading commit data...
markdown-commands.ts Loading commit data...
media-embedder.ts Loading commit data...
render-markdown.ts Loading commit data...
search-client.ts Loading commit data...
service-context.tsx Loading commit data...
websocket.ts Loading commit data...