This repository has been archived by the owner on Feb 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
♻️ #289 CreatedLgtmImage をCSSModules に置換え、それに加えて以下の変更を実施
ESlintの以下のErrorを回避する為にaltテキストを追加 32:9 error img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text
- Loading branch information
Showing
3 changed files
with
32 additions
and
22 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
src/components/Upload/UploadModal/CreatedLgtmImage.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.wrapper { | ||
flex: none; | ||
flex-grow: 0; | ||
order: 0; | ||
} | ||
|
||
.image { | ||
flex: none; | ||
flex-grow: 0; | ||
order: 0; | ||
width: auto; | ||
height: 270px; | ||
} | ||
|
||
@media (max-width: 767px) { | ||
.image { | ||
max-width: 355px; | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
src/components/Upload/UploadModal/CreatedLgtmImage.module.css.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
declare const styles: { | ||
readonly wrapper: string; | ||
readonly image: string; | ||
}; | ||
export = styles; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters