diff --git a/frontend/views/plugins/SalasPlugin.tsx b/frontend/views/plugins/SalasPlugin.tsx index 4531832..9152203 100644 --- a/frontend/views/plugins/SalasPlugin.tsx +++ b/frontend/views/plugins/SalasPlugin.tsx @@ -641,23 +641,26 @@ export const SalasPlugin: React.FC<{ view?: 'minhas' | 'alugar' }> = ({ view }) : 'Alugue salas equipadas ou disponibilize as suas para outros profissionais.'} /> - {/* Tabs */} -
- {TABS.map(t => { - const Icon = t.icon; - const active = tab === t.id; - return ( - - ); - })} -
+ {/* Tabs — segmented control: no mobile ocupa a largura toda e distribui igual; + no desktop encolhe ao conteúdo. */} + {TABS.length > 1 && ( +
+ {TABS.map(t => { + const Icon = t.icon; + const active = tab === t.id; + return ( + + ); + })} +
+ )} {/* MARKETPLACE */} {tab === 'marketplace' && enderecoOk === false && ( @@ -666,7 +669,7 @@ export const SalasPlugin: React.FC<{ view?: 'minhas' | 'alugar' }> = ({ view }) {tab === 'marketplace' && enderecoOk !== false && ( <>
-
+