Skip to content

Commit b0c3796

Browse files
committed
Make create element dialog wider
Now with the icon we can give it a bit more space for the element name.
1 parent 485c0ff commit b0c3796

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/views/alchemy/admin/elements/_add_nested_element_form.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
parent_element_id: element.id,
2020
page_version_id: element.page_version_id
2121
), {
22-
size: "320x125",
22+
size: "380x125",
2323
title: Alchemy.t("New Element")
2424
}, class: "button add-nestable-element-button" %>
2525
<% end %>

app/views/alchemy/admin/elements/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
label: Alchemy.t("New Element"),
1010
dialog_options: {
1111
title: Alchemy.t("New Element"),
12-
size: "320x125"
12+
size: "380x125"
1313
},
1414
if_permitted_to: [:create, Alchemy::Element]
1515
) %>

0 commit comments

Comments
 (0)