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

Popover center horizontally, maintain vertical position

$
0
0

I am using a Select with Popover interface. I want to center the popover box horizontally.

I found this css to center it in both directions:

.popover-wrapper .popover-content{
    position: relative !important;
    margin: 0 auto !important;
    left: auto !important;
    top: auto !important;
}

But I want to maintain the vertical position, and I am unable to figure out how to do that.

Can anyone please help me?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48986

Trending Articles



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