Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49083

Ion-toolbar inside ModalPage error

$
0
0

Good afternoon dear community, I am making the bottom edge of a toolbar have a small radius, this works perfectly on a normal page, but when trying to do it within a page that opens as Modal it does not work, I attach the images

error_toolbar_in_modalPage

the code I use to put the background on both pages is as follows:

:host {
    ion-content {
      --background: url('../../assets/images/app/bg.png') no-repeat center center / cover;
    }
  }

ion-content {
    --background: none;
    background: url('../../assets/images/app/bg.png') no-repeat center center / cover;//no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    display: flex!important;
    align-content: center!important;
    align-items: center!important;
        
}

Hope you can guide me with that problem
Thanks

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 49083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>