mirror of
https://github.com/opnsense/core.git
synced 2026-02-03 20:39:42 -05:00
test2
This commit is contained in:
parent
d4a7060f5f
commit
d952dbc54d
1 changed files with 2 additions and 4 deletions
|
|
@ -38,8 +38,7 @@ export default class Services extends BaseTableWidget {
|
|||
}
|
||||
|
||||
getMarkup() {
|
||||
// Return a flex container instead of a table for compact tile layout
|
||||
return $(`<div id="services-container" style="display: flex; flex-wrap: wrap; padding: 5px; gap: 5px; justify-content: space-between;"></div>`);
|
||||
return $(`<div id="services-container" style="display: flex; flex-wrap: wrap; padding: 5px; gap: 5px; justify-content: flex-start;"></div>`);
|
||||
}
|
||||
|
||||
serviceControl(actions) {
|
||||
|
|
@ -67,7 +66,6 @@ export default class Services extends BaseTableWidget {
|
|||
$('.service-status').tooltip('hide');
|
||||
$('.srv_status_act2').tooltip('hide');
|
||||
|
||||
// Sort by description for better readability
|
||||
data.rows.sort((a, b) => a.description.localeCompare(b.description));
|
||||
|
||||
for (const service of data.rows) {
|
||||
|
|
@ -90,7 +88,7 @@ export default class Services extends BaseTableWidget {
|
|||
border: 1px solid #e5e5e5;
|
||||
border-radius: 4px;
|
||||
padding: 8px;
|
||||
width: 49%;
|
||||
width: 32%;
|
||||
flex-grow: 1;
|
||||
min-width: 140px;
|
||||
display: flex;
|
||||
|
|
|
|||
Loading…
Reference in a new issue