[Layout] Too many "forced" content for inner .page-body
#213
Labels
BC Break
This will cause BC Break
Bug
Something isn't working
Status: Needs Review
Not under investigation
Hey,
We’re currently a bit stuck with how the
layout-xxx.html.twig
file define the base 'structure' of the page.Objective
The goal is to create a dashboard page with multiple rows and columns of with the same height.
Current state
Currently, the base template forces this HTML structure:
TablerBundle/templates/layout-vertical.html.twig
Lines 120 to 128 in 39b5e29
Render
Current render
Here's what we have currently:

Desired render:
To achieve this, we need to apply the
.row-deck
class directly after the top-level.container
class, like this:But we want the
.row-deck
in the top div + remove the section part.The whole HTML wanted:

Question/Solution
section
block + defaultrow row-cards
classes?admin-lte
bundle?It might be more flexible if this part of the structure was left for the developers to define, rather than enforced by the top-level template.
References with differents classes just after the
.container
div:https://preview.tabler.io/
https://preview.tabler.io/activity.html
https://preview.tabler.io/photogrid.html
The text was updated successfully, but these errors were encountered: