From e0c240a21273bbdcd5091491269dbd4f70b2873e Mon Sep 17 00:00:00 2001 From: Carlos Facundo Tello Date: Sat, 29 Aug 2026 01:49:20 -0300 Subject: [PATCH] =?UTF-8?q?style(ios):=20reducir=20un=2010%=20el=20tama?= =?UTF-8?q?=C3=B1o=20del=20segmento=20de=20navegaci=C3=B3n=20en=20iOS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/home/home.page.scss | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/src/app/home/home.page.scss b/src/app/home/home.page.scss index eab5821..4986f7a 100644 --- a/src/app/home/home.page.scss +++ b/src/app/home/home.page.scss @@ -131,31 +131,29 @@ .view-segment { background: var(--ion-background-color); - padding: 0; - width: 100%; - display: flex; - justify-content: center; - align-items: center; + padding: 10px; + + :host-context(.ios) & { + padding: 6px 10px; + } ion-segment { - width: 100%; - margin: 0 auto; + :host-context(.ios) &, + &.ios { + min-height: 29px; - ion-segment-button { - flex: 1; - font-weight: 600; - font-size: 0.92rem; - min-height: 44px; + ion-segment-button { + min-height: 29px; + font-size: 0.9em; + --padding-start: 4px; + --padding-end: 4px; + --padding-top: 0; + --padding-bottom: 0; + } } } } -:host-context(.ios) .view-segment ion-segment { - width: 90% !important; - max-width: 90% !important; - margin: 0 auto; -} - .card-header-flex { display: flex; justify-content: space-between;