Skip to content

Commit

Permalink
fix(style): fix empty img error (#2008)
Browse files Browse the repository at this point in the history
  • Loading branch information
syt-honey authored Aug 17, 2023
1 parent 01b5646 commit 4063f2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,7 @@ export const CloudStorageFileList: React.FC<CloudStorageFileListProps> = ({
{files.length <= 0 && (
<div className="cloud-storage-file-list-empty">
<div className="cloud-storage-file-list-empty-content">
<img
height={160}
src={darkMode ? emptyFileDarkSVG : emptyFileSVG}
width={160}
/>
<img src={darkMode ? emptyFileDarkSVG : emptyFileSVG} width={210} />
<div className="cloud-storage-file-list-empty-text">{t("no-data")}</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export const RoomListEmpty: React.FC<RoomListEmptyProps> = ({ isHistory }) => {
<div className="room-list-empty">
<img
alt="empty"
height="160px"
src={
isHistory
? darkMode
Expand All @@ -29,7 +28,7 @@ export const RoomListEmpty: React.FC<RoomListEmptyProps> = ({ isHistory }) => {
? emptyRoomDarkSVG
: emptyRoomSVG
}
width="160px"
width={160}
/>
<span className="room-list-empty-content">
{isHistory ? t("no-record") : t("no-room")}
Expand Down

0 comments on commit 4063f2e

Please sign in to comment.