Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Remove references to mx_GroupLayout from scss files #8875

Merged
merged 1 commit into from
Jun 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions res/css/views/elements/_EventTilePreview.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

.mx_EventTilePreview_loader {
&.mx_IRCLayout,
&.mx_GroupLayout {
padding: 9px 0;
}
.mx_FontScalingPanel_fontSlider_preview.mx_EventTilePreview_loader {
padding: 9px 0;
}
2 changes: 1 addition & 1 deletion res/css/views/rooms/_ReadReceiptGroup.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ limitations under the License.
display: inline-block;
// This aligns the avatar with the last line of the
// 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);
user-select: none;
z-index: 1;
Expand Down
1 change: 0 additions & 1 deletion src/components/views/elements/EventTilePreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ export default class EventTilePreview extends React.Component<IProps, IState> {
public render() {
const className = classnames(this.props.className, {
"mx_IRCLayout": this.props.layout == Layout.IRC,
"mx_GroupLayout": this.props.layout == Layout.Group,
"mx_EventTilePreview_loader": !this.props.userId,
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ exports[`FontScalingPanel renders the font scaling UI 1`] = `
userId={null}
>
<div
className="mx_FontScalingPanel_fontSlider_preview mx_GroupLayout mx_EventTilePreview_loader"
className="mx_FontScalingPanel_fontSlider_preview mx_EventTilePreview_loader"
>
<Spinner
h={32}
Expand Down