mirror of https://github.com/vector-im/riot-web
Remove references to mx_GroupLayout from scss files (#8875)
parent
14a8b1e69e
commit
18c21d77cd
|
@ -14,9 +14,6 @@ See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.mx_EventTilePreview_loader {
|
.mx_FontScalingPanel_fontSlider_preview.mx_EventTilePreview_loader {
|
||||||
&.mx_IRCLayout,
|
padding: 9px 0;
|
||||||
&.mx_GroupLayout {
|
|
||||||
padding: 9px 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ limitations under the License.
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
// This aligns the avatar with the last line of the
|
// This aligns the avatar with the last line of the
|
||||||
// message. We want to move it one line up
|
// message. We want to move it one line up
|
||||||
// See .mx_GroupLayout .mx_EventTile .mx_EventTile_line in _GroupLayout.scss
|
// See .mx_EventTile[data-layout=group] .mx_EventTile_line in _EventTile.scss
|
||||||
top: calc(-$font-22px - 3px);
|
top: calc(-$font-22px - 3px);
|
||||||
user-select: none;
|
user-select: none;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
|
|
@ -117,7 +117,6 @@ export default class EventTilePreview extends React.Component<IProps, IState> {
|
||||||
public render() {
|
public render() {
|
||||||
const className = classnames(this.props.className, {
|
const className = classnames(this.props.className, {
|
||||||
"mx_IRCLayout": this.props.layout == Layout.IRC,
|
"mx_IRCLayout": this.props.layout == Layout.IRC,
|
||||||
"mx_GroupLayout": this.props.layout == Layout.Group,
|
|
||||||
"mx_EventTilePreview_loader": !this.props.userId,
|
"mx_EventTilePreview_loader": !this.props.userId,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ exports[`FontScalingPanel renders the font scaling UI 1`] = `
|
||||||
userId={null}
|
userId={null}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="mx_FontScalingPanel_fontSlider_preview mx_GroupLayout mx_EventTilePreview_loader"
|
className="mx_FontScalingPanel_fontSlider_preview mx_EventTilePreview_loader"
|
||||||
>
|
>
|
||||||
<Spinner
|
<Spinner
|
||||||
h={32}
|
h={32}
|
||||||
|
|
Loading…
Reference in New Issue