libraries-override:
system/admin: mantra_starter/system_adminsystem/admin depends on system/base, which has a lot of css utilities.
system.admin.css contains layouts and styles for admin templates.
.layout container in page.html.twig is only used in…
Admin Pages
Supports Fences module with a field template that has required values.
See Fences field template: https://git.drupalcode.org/project/fences/-/blob/3.x/templates/field.html.twig
Mantra Theme template
{%
set classes = [
'field',
'field--name-' ~…
Fences
If there is a breadcrumb or messages, they have top/bottom margin to create space.
The views header could get the same treatment.
The point of avoiding margin top is so that if a background color is used, there is…
Views header margin top
When layout builder is enabled for node displays, the output will use the node template as a wrapper.
Layout builder output will print inside {{ content }}.
The wrappers follow Section > Region > Block.
Disable default layouts to avoid confusion.
In…
Layout Builder
This style is used for scrolling through grouped sections, with the header sticking to the top of the page as you scroll through the section.
https://www.andrewsclasses.com/courses
It is currently implemented as a…
Sticky Section Headers
A youtube video could be added as Remote Video media, or embedded in WYSIWYG.
Various modules enable different display options.
Media can have extra display modes, embedded content can have different parameters.
How you should configure drupal depends on…
iFrame Embed
Clicking it once shows the ajax loader, but doesn't open the dialog.
The second click works.
Vite dev mode disrupting ckeditor media embed button