Skip to content

Commit 60eb56b

Browse files
Merge pull request #19690 from kamil-tekiela/Fix-new-table-name-CSS
Fix new table name CSS
2 parents 34710cf + 6dd7d3d commit 60eb56b

4 files changed

Lines changed: 29 additions & 29 deletions

File tree

public/themes/bootstrap/scss/_common.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,8 @@ input#auto_increment_opt {
11071107
}
11081108

11091109
#table_name_col_no_outer {
1110-
margin-top: 45px;
1110+
display: flex;
1111+
flex-wrap: wrap;
11111112
}
11121113

11131114
#table_name_col_no {

public/themes/original/scss/_common.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,8 @@ input#auto_increment_opt {
11101110
}
11111111

11121112
#table_name_col_no_outer {
1113-
margin-top: 45px;
1113+
display: flex;
1114+
flex-wrap: wrap;
11141115
}
11151116

11161117
#table_name_col_no {

public/themes/pmahomme/scss/_common.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1313,7 +1313,8 @@ input#auto_increment_opt {
13131313
}
13141314

13151315
#table_name_col_no_outer {
1316-
margin-top: 45px;
1316+
display: flex;
1317+
flex-wrap: wrap;
13171318
}
13181319

13191320
#table_name_col_no {

resources/templates/columns_definitions/column_definitions_form.twig

Lines changed: 23 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -17,32 +17,29 @@
1717

1818
{% if action == '/table/create' %}
1919
<div id="table_name_col_no_outer">
20-
<table id="table_name_col_no" class="table table-borderless tdblock">
21-
<tr class="align-middle float-start">
22-
<td>{{ t('Table name') }}:
23-
<input type="text"
24-
name="table"
25-
size="40"
26-
maxlength="64"
27-
value="{{ table is defined ? table }}"
28-
class="textfield" autofocus required>
29-
</td>
30-
<td>
31-
{{ t('Add') }}
32-
<input type="number"
33-
id="added_fields"
34-
name="added_fields"
35-
size="2"
36-
value="1"
37-
min="1"
38-
onfocus="this.select()">
39-
{{ t('column(s)') }}
40-
<input class="btn btn-secondary" type="button"
41-
name="submit_num_fields"
42-
value="{{ t('Go') }}">
43-
</td>
44-
</tr>
45-
</table>
20+
<span>
21+
{{ t('Table name') }}:
22+
<input type="text"
23+
name="table"
24+
size="40"
25+
maxlength="64"
26+
value="{{ table is defined ? table }}"
27+
class="textfield" autofocus required>
28+
</span>
29+
<span>
30+
{{ t('Add') }}
31+
<input type="number"
32+
id="added_fields"
33+
name="added_fields"
34+
size="2"
35+
value="1"
36+
min="1"
37+
onfocus="this.select()">
38+
{{ t('column(s)') }}
39+
<input class="btn btn-secondary" type="button"
40+
name="submit_num_fields"
41+
value="{{ t('Go') }}">
42+
</span>
4643
</div>
4744
{% endif %}
4845
{% if content_cells is iterable %}

0 commit comments

Comments
 (0)