1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

Remove top padding from app tile.

This commit is contained in:
Richard Lewis
2018-02-08 17:50:30 +00:00
parent 5e30468a00
commit 234ca8b062
3 changed files with 5 additions and 1 deletions

View File

@@ -134,6 +134,10 @@ module.exports = {
menuStyle["backgroundColor"] = props.menuColour;
}
if (!isNaN(Number(props.menuPaddingTop))) {
menuStyle["paddingTop"] = props.menuPaddingTop;
}
// FIXME: If a menu uses getDefaultProps it clobbers the onFinished
// property set here so you can't close the menu from a button click!
const menu = (