diff --git a/res/css/views/rooms/_EventTile.scss b/res/css/views/rooms/_EventTile.scss index dd078d7f30..cf3e5b7985 100644 --- a/res/css/views/rooms/_EventTile.scss +++ b/res/css/views/rooms/_EventTile.scss @@ -291,20 +291,12 @@ limitations under the License. } .mx_EventTile_spoiler_content { - background-color: black; + filter: blur(5px) saturate(0.1) sepia(1); + transition-duration: 0.5s; } -.mx_EventTile_spoiler_content > span { - visibility: hidden; -} - - .mx_EventTile_spoiler.visible > .mx_EventTile_spoiler_content { - background-color: initial; -} - -.mx_EventTile_spoiler.visible > .mx_EventTile_spoiler_content > span { - visibility: visible; + filter: none; } /* End to end encryption stuff */ diff --git a/src/components/views/elements/Spoiler.js b/src/components/views/elements/Spoiler.js index e1e0febbab..d2de7d70e0 100644 --- a/src/components/views/elements/Spoiler.js +++ b/src/components/views/elements/Spoiler.js @@ -23,9 +23,7 @@ module.exports = React.createClass({ { reason }   - - - + ); }