Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Remove weird padding on stickers #6271

Merged
merged 5 commits into from
Feb 8, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions res/css/views/messages/_MStickerBody.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

.mx_MStickerBody_wrapper {
padding: 20px 0px;
}

.mx_MStickerBody_tooltip {
position: absolute;
top: 50%;
Expand Down
2 changes: 1 addition & 1 deletion src/components/views/messages/MStickerBody.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default class MStickerBody extends MImageBody {
if (!this.state.showImage) {
onClick = this.onClick;
}
return <div className="mx_MStickerBody_wrapper" onClick={onClick}> { children } </div>;
return <div onClick={onClick}> { children } </div>;
}

// Placeholder to show in place of the sticker image if
Expand Down