#12456 Fixed os text style 2

This commit is contained in:
Daniel Maya 2023-12-18 12:00:14 +01:00
parent e6981fb436
commit 7c0a2b4e97

View File

@ -432,8 +432,9 @@ class AgentHive extends Widget
$output .= '</div>'; $output .= '</div>';
$style = 'font-size: 6pt; display: flex; justify-content: start; $style = 'font-size: 6pt; display: flex; justify-content: start;
align-items: start; color: #9FA5B1; font-weight: 600;'; align-items: start; color: #9FA5B1; font-weight: 600;
$style_div = $style.' margin-bottom: 5px;'; line-height:normal; text-align:left;';
$style_div = $style.' margin-bottom: 15px;';
// OS description. // OS description.
$output .= html_print_div( $output .= html_print_div(
@ -441,7 +442,7 @@ class AgentHive extends Widget
'content' => (empty($data['os_version']) === true) 'content' => (empty($data['os_version']) === true)
? ui_print_truncate_text( ? ui_print_truncate_text(
get_os_name((int) $data['id_os']), get_os_name((int) $data['id_os']),
35, 32,
false, false,
true, true,
true, true,
@ -450,7 +451,7 @@ class AgentHive extends Widget
) )
: ui_print_truncate_text( : ui_print_truncate_text(
$data['os_version'], $data['os_version'],
35, 32,
false, false,
true, true,
true, true,
@ -475,7 +476,7 @@ class AgentHive extends Widget
), ),
'style' => 'text-align: left; 'style' => 'text-align: left;
min-height: 42px; font-size: 8pt; min-height: 42px; font-size: 8pt;
max-height: 42px; max-height: 42px; line-height: normal;
margin: 2px 0px 2px 0px', margin: 2px 0px 2px 0px',
], ],
true true