Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70448

Position Popover to top and fixed width

$
0
0

@SpookieUkie wrote:

HI, I have seen how the popover can be changed using the global styles. What I can’t get is to change a single popover. I have tried passing the css class in the popover, but no luck. I have attached the component code and css Any thoughts? Thanks

const popover = await this.popoverController.create({
component: PhotoviewerComponent,
cssClass: ‘photo’,
event: event
});

.photo .popover-content {
top: 0 !important;
width: 100px;

}

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70448

Trending Articles