batch replace grid- (scratch) by col- (bootstrap)

hand replace
* push- by offset-
* no-gutter by g-0

add breakpoints md- and sm-
This commit is contained in:
2021-07-08 15:04:44 +02:00
parent b10012f4da
commit ccee105efb
34 changed files with 55 additions and 55 deletions

View File

@@ -25,7 +25,7 @@
{% if attr.class is defined and ('cf-title' in attr.class or 'cf-fields' in attr.class ) %}
col-12
{% elseif attr.class is defined and 'multiple-cf-inline' in attr.class %}
col-2 col-mobile-4 col-tablet-4 mobile-clear tablet-clear
col-2 col-md-4 clear
{% else %}
col-4 clear
{% endif %}
@@ -40,7 +40,7 @@
{% elseif attr.class is defined and 'cf-fields' in attr.class %}
col-12 parent
{% elseif attr.class is defined and 'multiple-cf-inline' in attr.class %}
col-2 col-mobile-8 col-tablet-8 multiple-cf-inline
col-2 col-md-8 multiple-cf-inline
{% else %}
col-8
{% endif %}
@@ -85,14 +85,14 @@
</div>
{%- else -%}
<div class="container-fluid">
<div class="row">
<div class="col-6 col-tablet-12 gid-mobile-12 no-gutter">
<div class="row g-0">
<div class="col-md-6">
<span class="inline-choice">
{{ form_widget(child) }}
{{ form_label(child, '', {'label_attr': { 'class' : 'inline'} }) }}
</span>
</div>
<div class="col-6 col-tablet-12 gid-mobile-12 no-gutter">
<div class="col-md-6">
{{ form_widget(form._other, {'attr': {'class': 'input-text-other-value'} }) }}
</div>
</div>