LouisMazel / maz-ui

Vue & Nuxt library of standalone components & tools to build interfaces

Home Page:https://maz-ui.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Issue][MazBottomSheet, MazDialog] Huge "X" icon on iOS

sourcecodeit opened this issue · comments

Describe the bug
MazBottomSheet and MazDialog show a huge "X" icon on iOS (tested on simulator). If you change any CSS property from the inspector it fixes it immediatley.

To Reproduce
I don't have a public URL

Expected behavior
"X" icon with correct icon.

Screenshots
image
image

Smartphone (please complete the following information):

  • Device: iPhone 14 (iOS simulator )
  • OS: iOS 14

It looks like a CSS conflict but it looks all fine and it doesn't happen on Chrome.

image image image

I added this code to fix it:

.m-backdrop-content {
	.m-bottom-sheet__close, 
	.m-dialog-closebtn {
		width: 44px;
	}
}

Hi @sourcecodeit,

In your inspector and in your CSS rules I can see :

span svg {
  height: 100%;
  width: 100%;
}

Where does this rule come from? I think this rule is the problem.
It's not the CSS of maz-ui.

You can try the component from the documentation in the simulator to test it: https://maz-ui.com/components/maz-dialog

You

Hi @sourcecodeit,

In your inspector and in your CSS rules I can see :

You're right! That's a not-scoped rule I put in a component, thanks!