Fix size of event detail tabs

This commit is contained in:
Jose Gonzalez 2021-10-15 09:36:22 +02:00
parent eaaab1e250
commit 304a4b5687
3 changed files with 7 additions and 3 deletions

View File

@ -1378,7 +1378,7 @@ if ($get_extended_event) {
}
// Tabs.
$tabs = "<ul class=''>";
$tabs = "<ul class='event_detail_tab_menu'>";
$tabs .= "<li><a href='#extended_event_general_page' id='link_general'>".html_print_image(
'images/lightning_go.png',
true,
@ -1436,7 +1436,7 @@ if ($get_extended_event) {
).'<span>'.__('Responses').'</span></a></li>';
}
if ($event['custom_data'] != '') {
if (empty($event['custom_data']) === false) {
$tabs .= "<li><a href='#extended_event_custom_data_page' id='link_custom_data'>".html_print_image(
'images/custom_field_col.png',
true,

View File

@ -48,7 +48,7 @@ function show_event_dialog(event, dialog_page, result) {
resizable: true,
draggable: true,
modal: true,
minWidth: 710,
minWidth: 875,
minHeight: 600,
close: function() {
$("#refrcounter").countdown("resume");

View File

@ -311,3 +311,7 @@ div.multi-response-buttons {
width: 100%;
text-align: right;
}
.event_detail_tab_menu li {
max-width: 160px;
}