Skip to content

Commit e76391d

Browse files
vlo-rtefreddidierRTE
authored andcommitted
Activity area size of labels (#7846)
Signed-off-by: vlo-rte <[email protected]>
1 parent ef3d81b commit e76391d

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

ui/main/src/app/components/activityarea/activityarea.component.html

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- Copyright (c) 2022-2024, RTE (http://www.rte-france.com) -->
1+
<!-- Copyright (c) 2022-2025, RTE (http://www.rte-france.com) -->
22
<!-- See AUTHORS.txt -->
33
<!-- This Source Code Form is subject to the terms of the Mozilla Public -->
44
<!-- License, v. 2.0. If a copy of the MPL was not distributed with this -->
@@ -27,7 +27,7 @@
2727
>
2828
<table class="opfab-activityarea-table" aria-describedby="activity area table">
2929
<tr *ngFor="let line of cluster.lines">
30-
<th class="opfab-table-line">
30+
<th class="opfab-table-line" style="width: 60%">
3131
<label class="opfab-checkbox opfab-activityarea-checkbox">
3232
<input type="checkbox" [formControlName]="line.entityId" [checked]="true" />{{
3333
line.entityName
@@ -37,8 +37,10 @@
3737
</th>
3838
<td>
3939
<ng-template #connected>
40-
<div class="opfab-tooltip">
41-
<span class="opfab-rounded-badge opfab-blue-background opfab-activityarea-badge"
40+
<div class="opfab-tooltip" style="float: left; margin-top: -12px">
41+
<span
42+
class="opfab-rounded-badge opfab-blue-background opfab-activityarea-badge"
43+
style="display: inline"
4244
>{{ line.connectedUsers.length }} </span
4345
>&nbsp;&nbsp;<span
4446
[id]="'table-line-' + line.entityId"

ui/main/src/app/components/activityarea/activityarea.component.scss

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2022-2024, RTE (http://www.rte-france.com)
1+
/* Copyright (c) 2022-2025, RTE (http://www.rte-france.com)
22
* See AUTHORS.txt
33
* This Source Code Form is subject to the terms of the Mozilla Public
44
* License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -37,7 +37,7 @@
3737
.opfab-activityarea-checkbox {
3838
width: auto;
3939
font-weight: bold;
40-
margin-left: 30px;
40+
margin-left: 15px;
4141
overflow-x: hidden;
4242
text-overflow: ellipsis;
4343
white-space: nowrap;
@@ -98,7 +98,7 @@
9898
text-overflow: ellipsis;
9999
white-space: nowrap;
100100
overflow: hidden;
101-
max-width: 180px;
101+
width: 140px;
102102
display: inline-block;
103103
vertical-align: middle;
104104
}

0 commit comments

Comments
 (0)