scss: move "remove file" icon to the top right corner (#36038)

This commit is contained in:
Frédéric Péters 2019-09-11 14:55:17 +02:00
parent ae194efaa6
commit a11565d0b9
1 changed files with 9 additions and 1 deletions

View File

@ -448,16 +448,24 @@ div.fileinfo a.remove {
color: transparent;
display: inline-block;
width: 16px;
position: relative;
text-indent: -10000px;
position: absolute;
top: 0;
right: 0;
&::before {
font-family: FontAwesome;
content: "\f057"; // times-circle
color: $button-background;
text-indent: 0;
position: absolute;
display: block;
top: 0;
left: 0;
right: 0;
width: 2rem;
height: 2rem;
line-height: 2rem;
text-align: center;
}
}