Skip to content

Commit

Permalink
Remove weird padding on stickers
Browse files Browse the repository at this point in the history
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
  • Loading branch information
SimonBrandner committed Jun 26, 2021
1 parent 8f6d31b commit 42188e4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
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

0 comments on commit 42188e4

Please sign in to comment.