#modal did not placed on center

9 messages · Page 1 of 1 (latest)

ivory ginkgo
#

mantine modal did not placed on center (seems like have no left padding) cause css class "mantine-1ldjfky" from "mantine-Paper-root" has below css code.
If I remove below code, it placed on center well.

margin-left: calc(var(--removed-scroll-width, 0px) * -1);

you can reproduce by following step

  1. Macbook setting > General > Show scroll bars > Always
  2. Click https://mantine.dev/core/modal/ 's Usage Open Modal

Modal with optional header

#

when do not open chrome dev tools

#

modal did not placed on center

lyric cipher
ivory ginkgo
#

any updates on this? 🥲

carmine lichen
ivory ginkgo
lyric cipher
# ivory ginkgo any updates on this? 🥲

I'll try to fix in one of the next patches, it is a low priority issue though, since it can be only reproduced on Windows and I usually update these issues in a bulk. Maybe @languid silo will be able to help you with this or you can submit a pr.

ivory ginkgo