mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +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>';
|
$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.
|
// OS description.
|
||||||
$output .= html_print_div(
|
$output .= html_print_div(
|
||||||
[
|
[
|
||||||
'content' => (empty($data['os_version']) === true)
|
'content' => (empty($data['os_version']) === true)
|
||||||
? ui_print_truncate_text(get_os_name((int) $data['id_os']))
|
? ui_print_truncate_text(
|
||||||
: ui_print_truncate_text($data['os_version']),
|
get_os_name((int) $data['id_os']),
|
||||||
'style' => 'font-size: 6pt;
|
35,
|
||||||
display: flex;
|
false,
|
||||||
justify-content: start;
|
true,
|
||||||
align-items: start;
|
true,
|
||||||
color: #9FA5B1;
|
'…',
|
||||||
font-weight: 600;
|
$style
|
||||||
margin: 5px;
|
)
|
||||||
float: right;
|
: ui_print_truncate_text(
|
||||||
word-break: break-all;',
|
$data['os_version'],
|
||||||
|
35,
|
||||||
|
false,
|
||||||
|
true,
|
||||||
|
true,
|
||||||
|
'…',
|
||||||
|
$style
|
||||||
|
),
|
||||||
|
'style' => $style_div,
|
||||||
],
|
],
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
|
@ -663,9 +663,9 @@ form.modal-dashboard
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: start;
|
align-items: start;
|
||||||
min-width: 150px;
|
min-width: 150px;
|
||||||
max-width: 200px;
|
max-width: 160px;
|
||||||
min-height: 150px;
|
min-height: 150px;
|
||||||
max-height: 200px;
|
max-height: 160px;
|
||||||
margin: 8px;
|
margin: 8px;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
border: 1px solid #eceef2;
|
border: 1px solid #eceef2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user