1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-21 21:30:08 +00:00

Remove bogus width: 100% from images in stream

This commit is contained in:
Tim Düsterhus 2020-06-15 00:14:34 +02:00
parent 03292b963c
commit 6f4c83b73f
Signed by: TimWolla
GPG Key ID: 8FF75566094168AF
2 changed files with 3 additions and 4 deletions

View File

@ -10,7 +10,7 @@ Additional Use Grant: You may use the Licensed Work when your application
uses the Licensed Work for a purpose that does neither uses the Licensed Work for a purpose that does neither
directly or indirectly generate revenue. directly or indirectly generate revenue.
Change Date: 2024-05-30 Change Date: 2024-06-15
Change License: Version 2 or later of the GNU General Public License as Change License: Version 2 or later of the GNU General Public License as
published by the Free Software Foundation. published by the Free Software Foundation.

View File

@ -1,10 +1,10 @@
/* /*
* Copyright (c) 2010-2018 Tim Düsterhus. * Copyright (c) 2010-2020 Tim Düsterhus.
* *
* Use of this software is governed by the Business Source License * Use of this software is governed by the Business Source License
* included in the LICENSE file. * included in the LICENSE file.
* *
* Change Date: 2024-03-25 * Change Date: 2024-06-15
* *
* On the date above, in accordance with the Business Source * On the date above, in accordance with the Business Source
* License, use of this software will be governed by version 2 * License, use of this software will be governed by version 2
@ -251,7 +251,6 @@ #tpl_chat_log {
// Limit embedded images and videos to a reasonable size // Limit embedded images and videos to a reasonable size
img:not(.smiley):not(.userAvatarImage) { img:not(.smiley):not(.userAvatarImage) {
width: 100%;
max-width: $chatEmbedMaxWidth; max-width: $chatEmbedMaxWidth;
} }