Skip to content

Commit

Permalink
refactor(icons): remove wrapping div
Browse files Browse the repository at this point in the history
  • Loading branch information
hazzuk committed Dec 18, 2024
1 parent bf55aa0 commit 27bd4cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/components/structures/auth/LoginSplashView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@ export function LoginSplashView(props: Props): React.JSX.Element {
<div className="mx_LoginSplashView_splashButtons">

{/* elecord mono icon on loading screen */}
<div>
<img src="vector-icons/128-mono.png" />
</div>
<img src="vector-icons/128-mono.png" />

<AccessibleButton kind="link_inline" onClick={props.onLogoutClick}>
{_t("action|logout")}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,7 @@ export default class HelpUserSettingsTab extends React.Component<IProps, IState>
// Also, &nbsp; is ugly but necessary.
return (
<SettingsSubsection heading={_t("common|credits")}>
<div>
<img src="vector-icons/128-mono.png" />
</div>
<img src="vector-icons/128-mono.png" />
<SettingsSubsectionText>
<span>
{_t(
Expand Down

0 comments on commit 27bd4cf

Please sign in to comment.