Fix CSS naming
parent
5adcd673ab
commit
4f8ece53b2
|
@ -1,5 +1,6 @@
|
||||||
/*
|
/*
|
||||||
Copyright 2015, 2016 OpenMarket Ltd
|
Copyright 2015, 2016 OpenMarket Ltd
|
||||||
|
Copyright 2018 New Vector Ltd
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
|
@ -54,7 +55,7 @@ limitations under the License.
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_LeftPanel .mx_AppTileMini {
|
.mx_LeftPanel .mx_AppTile_mini {
|
||||||
height: 132px;
|
height: 132px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -75,7 +75,7 @@ limitations under the License.
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_AppTileMini {
|
.mx_AppTile_mini {
|
||||||
max-width: 960px;
|
max-width: 960px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
@ -87,7 +87,7 @@ limitations under the License.
|
||||||
height: 280px;
|
height: 280px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_AppTileMini .mx_AppTile_persistedWrapper {
|
.mx_AppTile_mini .mx_AppTile_persistedWrapper {
|
||||||
height: 114px;
|
height: 114px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -618,7 +618,7 @@ export default class AppTile extends React.Component {
|
||||||
|
|
||||||
let appTileClass;
|
let appTileClass;
|
||||||
if (this.props.miniMode) {
|
if (this.props.miniMode) {
|
||||||
appTileClass = 'mx_AppTileMini';
|
appTileClass = 'mx_AppTile_mini';
|
||||||
} else if (this.props.fullWidth) {
|
} else if (this.props.fullWidth) {
|
||||||
appTileClass = 'mx_AppTileFullWidth';
|
appTileClass = 'mx_AppTileFullWidth';
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue