mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
cleanup
This commit is contained in:
parent
e2aa6ecf6b
commit
85ac256231
2 changed files with 0 additions and 12 deletions
|
@ -267,16 +267,6 @@ limitations under the License.
|
||||||
.mx_RoomSublist2_showLessButtonChevron {
|
.mx_RoomSublist2_showLessButtonChevron {
|
||||||
mask-image: url('$(res)/img/feather-customised/chevron-up.svg');
|
mask-image: url('$(res)/img/feather-customised/chevron-up.svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
&.mx_RoomSublist2_isCutting::before {
|
|
||||||
content: '';
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
height: 4px;
|
|
||||||
box-shadow: 0px -2px 3px rgba(46, 47, 50, 0.08);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&.mx_RoomSublist2_hasMenuOpen,
|
&.mx_RoomSublist2_hasMenuOpen,
|
||||||
|
|
|
@ -585,7 +585,6 @@ export default class RoomSublist2 extends React.Component<IProps, IState> {
|
||||||
// TODO: Error boundary: https://github.com/vector-im/riot-web/issues/14185
|
// TODO: Error boundary: https://github.com/vector-im/riot-web/issues/14185
|
||||||
|
|
||||||
const visibleTiles = this.renderVisibleTiles();
|
const visibleTiles = this.renderVisibleTiles();
|
||||||
|
|
||||||
const classes = classNames({
|
const classes = classNames({
|
||||||
'mx_RoomSublist2': true,
|
'mx_RoomSublist2': true,
|
||||||
'mx_RoomSublist2_hasMenuOpen': !!this.state.contextMenuPosition,
|
'mx_RoomSublist2_hasMenuOpen': !!this.state.contextMenuPosition,
|
||||||
|
@ -603,7 +602,6 @@ export default class RoomSublist2 extends React.Component<IProps, IState> {
|
||||||
const maxTilesPx = layout.tilesToPixelsWithPadding(this.numTiles, this.padding);
|
const maxTilesPx = layout.tilesToPixelsWithPadding(this.numTiles, this.padding);
|
||||||
const showMoreBtnClasses = classNames({
|
const showMoreBtnClasses = classNames({
|
||||||
'mx_RoomSublist2_showNButton': true,
|
'mx_RoomSublist2_showNButton': true,
|
||||||
'mx_RoomSublist2_isCutting': this.state.isResizing && layout.visibleTiles < maxTilesFactored,
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// If we're hiding rooms, show a 'show more' button to the user. This button
|
// If we're hiding rooms, show a 'show more' button to the user. This button
|
||||||
|
|
Loading…
Reference in a new issue