Add responsive effect in home tab

This commit is contained in:
Peter Maquiran
2020-12-30 11:43:48 +01:00
parent 97f21bbc16
commit 29bbb542ca
3 changed files with 14 additions and 3 deletions
+2 -1
View File
@@ -8,7 +8,7 @@ import { HomePageRoutingModule } from './home-routing.module';
import { HomePage } from './home.page';
/* import { IonicSelectableModule } from 'ionic-selectable'; */
import { SharedModule } from 'src/app/shared/shared.module';
@NgModule({
imports: [
@@ -16,6 +16,7 @@ import { HomePage } from './home.page';
FormsModule,
IonicModule,
HomePageRoutingModule,
SharedModule
],
declarations: [HomePage]
})
+4 -2
View File
@@ -1,5 +1,7 @@
<ion-tabs>
<ion-tab-bar slot="bottom">
<ion-tabs class="tab">
<ion-tab-bar class="bottoms" slot="bottom">
<ion-tab-button tab="events">
<!-- <ion-icon name="home"></ion-icon> -->
<ion-icon class="nav-icon" src="assets/images/icons-nav-home.svg"></ion-icon>
+8
View File
@@ -25,4 +25,12 @@ ion-badge {/* */
white-space: nowrap;
vertical-align: baseline; */
}
.tab{
.bottoms{
display: flex;
justify-content: space-around;
}
}