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

chore(developer): Document template changes for Nextcloud 31 #12501

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ General
Front-end changes
-----------------

User-, guest-, and public-template layout
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The main layout for all apps (the user, guest and public template) has been changed,
the main content is no longer rendered within a ``<main>`` element with the class ``content`` but in a ``div`` element with the class ``content``.
The reason for this is to allow writing Vue 3 based apps which would incorrectly render two stacked ``main``-elements otherwise.

For Vue 2 apps this **does not change anything**.
But if you just use vanilla templates or other frameworks this changes the page layout and might require adjustments.
We recommend you to wrap your content in a custom ``main``-element if you use non or not Vue as the framework.

Logical position CSS rules
^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down