diff --git a/gray-theme/unauthenticated/gray-theme.css b/gray-theme/unauthenticated/gray-theme.css index 9cf39151f..7123e5c7c 100644 --- a/gray-theme/unauthenticated/gray-theme.css +++ b/gray-theme/unauthenticated/gray-theme.css @@ -613,7 +613,14 @@ tr.ui_buttons_row > td { border-top: 1px solid var(--border-color-lighter); vertical-align: middle; } -tr.ui_buttons_row:first-child > td { border-top: 0; } +/* Each row is a form with a table of its own, as a form cannot wrap table + * rows. Flattening the wrappers lets all rows share the outer columns */ +tr.ui_buttons_form_row, +tr.ui_buttons_form_row > td, +form.ui_buttons_form, +form.ui_buttons_form > table, +form.ui_buttons_form > table > tbody { display: contents; } +tr.ui_buttons_form_row:first-child tr.ui_buttons_row > td { border-top: 0; } td.ui_buttons_label { width: 1%; padding-right: 16px; diff --git a/ui-lib.pl b/ui-lib.pl index 7e2aa198f..4594ee88f 100755 --- a/ui-lib.pl +++ b/ui-lib.pl @@ -1,7 +1,7 @@ use vars qw($theme_no_table $ui_radio_selector_donejs $module_name $ui_multi_select_donejs, $ui_formcount, $ui_form_end_side_by_side_donecss, - $ui_form_grouped_buttons_donecss, $ui_buttons_formcount); + $ui_form_grouped_buttons_donecss); =head1 ui-lib.pl @@ -1856,7 +1856,7 @@ inputs. The parameters are : =item button-label - Text to appear on the button. -=item description - Text to appear next to the button, describing in more detail what it does. Inputs in it are linked to the button's form by the HTML5 C