@Rotor7ven wrote:
Hello everyone, I’m trying to stylize my popover with the cssClass property as stated in the docs but it does not seem to be working. By default the width of the popover content is 170px but I need it to over the width of the device. How can i achieve this? I looked at other post but they seem to be in ionic 3 and not working.
Home.ts:
async openPopOver(ev: Event) { const popover = await this.popoverCtrl.create({ component: PopOverPage, event: ev, cssClass: 'pop-over-style' }); popover.present(); }
home.css
.pop-over-style { .popover-content { //width: 80% !important; - this wont work or the bottom one. --width: 300px !important; } }
Posts: 6
Participants: 2