Default width of dashboard block input fields

This commit is contained in:
Alexander Meindl 2021-03-26 18:05:43 +01:00
parent 56c32d6a25
commit f505284cda
5 changed files with 10 additions and 3 deletions

View File

@ -222,6 +222,7 @@ module DashboardsHelper
icons << tag.span('', class: 'icon-only icon-sort-handle sort-handle', title: l(:button_move))
icons << delete_link(_remove_block_dashboard_path(@project, dashboard, block: block),
method: :post,
remote: true,
class: 'icon-only icon-close',
title: l(:button_delete))

View File

@ -1,6 +1,6 @@
div id="#{block}-settings" style="#{'display: none;' if hide}"
= form_tag(_update_layout_setting_dashboard_path(@project, @dashboard), remote: true) do
.box
.box.settings
p
label
= l :label_max_entries

View File

@ -2,7 +2,7 @@
div id="#{block}-settings" style="#{'display: none;' if hide}"
= form_tag(_update_layout_setting_dashboard_path(@project, @dashboard), remote: true) do
.box
.box.settings
p
label
= l :field_title

View File

@ -1,6 +1,6 @@
div id="#{block}-settings" style='display: none;'
= form_tag(_update_layout_setting_dashboard_path(@project, @dashboard), remote: true) do
.box
.box.settings
p
label
= l :field_title

View File

@ -23,6 +23,12 @@
font-size: 95%;
}
#my-page.dashboard .box.settings input[type=text],
#my-page.dashboard .box.settings input[type=password],
#my-page.dashboard .box.settings input[type=url] {
width: 90%;
}
/* Mobile menu style FontAwesome icon */
.flyout-is-active #admin-menu li a.additionals {
padding-left: 8px !important;