-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
[Layout] Too many "forced" content for inner .page-body
#213
Comments
This was in your initial commit already: Who knows which feature accidentally work due to this class being existent right now. Anyway, a dashboard with same height widgets works perfectly fine for me with that HTML: ![]() You can simply add a second div with the wanted CSS classes and everything works fine. |
Yes, I was looking for when/why we do that, it was there from the beginning:
Yes, it could, testing in the table preview, there is no big impact:
|
Do you want to sent a PR with the changes? |
Yes I can |
No 😢
We have a project where another developer also uses/overrides these blocks. {% block page_content_before %}
<div class="row row-cards">
<section id="{% block page_content_id %}{% endblock %}" class="{% block page_content_class %}content{% endblock %}">
{% endblock %}
{% block page_content_after %}
</section>
</div>
{% endblock %} It is a temporary patch to avoid the BC break but will/should not be left that way. The end goal it that every pages that uses
OR
|
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.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: