mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
#12456 Fixed os text style
This commit is contained in:
parent
c34515549c
commit
e6981fb436
@ -431,21 +431,33 @@ class AgentHive extends Widget
|
||||
|
||||
$output .= '</div>';
|
||||
|
||||
$style = 'font-size: 6pt; display: flex; justify-content: start;
|
||||
align-items: start; color: #9FA5B1; font-weight: 600;';
|
||||
$style_div = $style.' margin-bottom: 5px;';
|
||||
|
||||
// OS description.
|
||||
$output .= html_print_div(
|
||||
[
|
||||
'content' => (empty($data['os_version']) === true)
|
||||
? ui_print_truncate_text(get_os_name((int) $data['id_os']))
|
||||
: ui_print_truncate_text($data['os_version']),
|
||||
'style' => 'font-size: 6pt;
|
||||
display: flex;
|
||||
justify-content: start;
|
||||
align-items: start;
|
||||
color: #9FA5B1;
|
||||
font-weight: 600;
|
||||
margin: 5px;
|
||||
float: right;
|
||||
word-break: break-all;',
|
||||
? ui_print_truncate_text(
|
||||
get_os_name((int) $data['id_os']),
|
||||
35,
|
||||
false,
|
||||
true,
|
||||
true,
|
||||
'…',
|
||||
$style
|
||||
)
|
||||
: ui_print_truncate_text(
|
||||
$data['os_version'],
|
||||
35,
|
||||
false,
|
||||
true,
|
||||
true,
|
||||
'…',
|
||||
$style
|
||||
),
|
||||
'style' => $style_div,
|
||||
],
|
||||
true
|
||||
);
|
||||
|
@ -663,9 +663,9 @@ form.modal-dashboard
|
||||
justify-content: center;
|
||||
align-items: start;
|
||||
min-width: 150px;
|
||||
max-width: 200px;
|
||||
max-width: 160px;
|
||||
min-height: 150px;
|
||||
max-height: 200px;
|
||||
max-height: 160px;
|
||||
margin: 8px;
|
||||
padding: 5px;
|
||||
border: 1px solid #eceef2;
|
||||
|
Loading…
x
Reference in New Issue
Block a user