Skip to content

Commit 5ff68e6

Browse files
put the arrows on the right
1 parent f63c611 commit 5ff68e6

File tree

2 files changed

+14
-17
lines changed

2 files changed

+14
-17
lines changed

desktop/src/app/components/widgets/changes-history-modal.html

+4-8
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,17 @@ <h5 class="modal-title" i18n="@@widgets.historyModal.header">Änderunghistorie<
88
<div *ngIf="document.modified[0].user">
99
<div id="list" class="col-lg-12 col-md-12 col-sm-12">
1010
<div id="list-header">
11-
<div class="list-header-field"
11+
<div class="list-header-field text-right"
1212
i18n="@@changes.list.colnames.date"
1313
(click)="toggleColumnSort('date')"
1414
[ngClass]="toggledDate ? 'arrow-down' : 'arrow-up'">
15-
<span class="text-left">Änderungsdatum </span>
16-
<!-- <span class="sort-arrow-up arrow-up mdi-16px" (click)="sortDownBy('date')"></span>
17-
<span class="sort-arrow-down arrow-down" (click)="sortUpBy('date')"></span> -->
15+
<span class="box-left">Änderungsdatum </span>
1816
</div>
19-
<div class="list-header-field"
17+
<div class="list-header-field text-right"
2018
i18n="@@changes.list.colnames.user"
2119
(click)="toggleColumnSort('user')"
2220
[ngClass]="toggledUser ? 'arrow-down' : 'arrow-up'">
23-
<span class="text-left">Benutzer </span>
24-
<!-- <span class="sort-arrow-up arrow-up" (click)="sortDownBy('user')"></span>
25-
<span class="sort-arrow-down arrow-down" (click)="sortUpBy('user')"></span> -->
21+
<span class="box-left">Benutzer </span>
2622
</div>
2723
</div>
2824
<div class="list-body">

desktop/src/app/components/widgets/changes-history-modal.scss

+10-9
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
color: rgb(73, 80, 87);
1616
border: solid 1px rgb(221, 221, 221);
1717
}
18+
1819
}
1920

2021
.list-body{
@@ -38,17 +39,17 @@
3839
}
3940
}
4041
}
41-
.sort-arrow-up .sort-arrow-down{
42-
float:right;
43-
}
44-
.sort-arrow-up:hover{
45-
color:red;
46-
}
47-
.sort-arrow-down:hover{
48-
color:green;
42+
43+
.list-header-field:hover{
44+
background-color: rgb(200, 200, 200, 0.2);
4945
}
5046

51-
.text-left{
47+
.box-left{
5248
float:left;
5349
margin-right: 4pt;
50+
}
51+
52+
.text-right{
53+
text-align:right;
54+
// margin-right: 4pt;
5455
}

0 commit comments

Comments
 (0)