Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix admin area content shift to the right in MODX3 #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

OlegAnTo2000
Copy link
Contributor

In MODX3, due to positioning content with indentation on the left, the admin shifts to the right. In MODX2 the indentation is 0, so this code fixes the problem in MODX3.

In MODX3, due to positioning content with indentation on the left, the admin shifts to the right. In MODX2 the indentation is 0, so this code fixes the problem in MODX3.
@alexsoin
Copy link
Collaborator

alexsoin commented Jan 8, 2024

Проверил, всё работает и не ломает поведение в modx v2.

Данный стиль нужно объединить с правилом #modx-content находящимся на последней строке, чтобы не создавать дублей.

После внесения данного исправления можно добавить совместимость компонента с modx 3, закрыв ишью #30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants