Skip to content

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