support cancelling and uncancelling previews

This commit is contained in:
Matthew Hodgson 2016-04-03 02:50:51 +01:00
parent a5258978d6
commit ff2885087d
2 changed files with 34 additions and 0 deletions

View file

@ -33,6 +33,8 @@ limitations under the License.
.mx_LinkPreviewWidget_caption {
margin-left: 15px;
-webkit-flex: 1;
flex: 1;
}
.mx_LinkPreviewWidget_title {
@ -48,3 +50,12 @@ limitations under the License.
margin-top: 8px;
white-space: normal;
}
.mx_LinkPreviewWidget_cancel {
visibility: hidden;
cursor: pointer;
}
.mx_LinkPreviewWidget:hover .mx_LinkPreviewWidget_cancel {
visibility: visible;
}