[PLT-1249] Add close button 'x' to the right of a link preview (#7017)

* add close button 'x' to the right of a link preview

* Updating webhook UI

* UI improvements for close button

* Adding hover state

* Making the close button visible on mobile

* previews are permanently disabled/closed for that link

* make post as required props

* fix JS error of undefined

* fix update issue both at center and RHS view
Этот коммит содержится в:
Saturnino Abril
2017-08-03 14:29:31 +08:00
коммит произвёл GitHub
родитель 345bb2236f
Коммит f3934bc7e1
7 изменённых файлов: 132 добавлений и 10 удалений

Просмотреть файл

@@ -1349,6 +1349,16 @@
.post {
.attachment {
.attachment__body__wrap {
.btn-close {
height: 30px;
left: -15px;
top: 7px;
visibility: visible;
width: 30px;
}
}
.attachment__image {
&.attachment__image--openraph {
max-width: 200px;