Add an option to hide image previews
Applies to images, stickers, and URL previews. Fixes https://github.com/vector-im/riot-web/issues/10735
This commit is contained in:
parent
55e834f0ae
commit
59b29e4a7f
8 changed files with 102 additions and 16 deletions
|
@ -22,3 +22,14 @@ limitations under the License.
|
|||
position: absolute;
|
||||
top: 50%;
|
||||
}
|
||||
|
||||
.mx_MStickerBody_hidden {
|
||||
max-width: 220px;
|
||||
text-decoration: none;
|
||||
text-align: center;
|
||||
|
||||
// To center the text in the middle of the frame
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue