Skip to content

Commit bdedc0d

Browse files
committed
Tasks actions animation right to leftwithout opacity
1 parent f65696c commit bdedc0d

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/app/dashboard/tasks/tasks.scss

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@
2424
overflow-y: scroll;
2525
overflow-x: hidden;
2626
margin: 0;
27-
margin-right: -10px;
27+
margin-right: -5px;
2828
}
2929

3030
.tasks-list {
3131
list-style-type: none;
3232
padding: 0;
33-
padding-right: 10px;;
33+
padding-right: 5px;
3434

3535
.tasks-item {
3636

@@ -69,11 +69,11 @@
6969

7070
.actions-block {
7171
height: 30px;
72-
opacity: 0;
72+
width: 0px;
73+
overflow: hidden;
7374
position: absolute;
7475
top: 0;
75-
right: -66px;
76-
width: 66px;
76+
right: -10px;
7777
background-color: #C9D0DB;
7878
border: 1px solid #C9D0DB;
7979
border-radius: 3px;
@@ -108,8 +108,8 @@
108108

109109
&.active {
110110
.actions-block {
111-
opacity: 1;
112-
right: 0;
111+
right: 0px;
112+
width: 66px;
113113
}
114114
}
115115
}

0 commit comments

Comments
 (0)