Skip to content

Commit

Permalink
fix(button): undo changes to button
Browse files Browse the repository at this point in the history
  • Loading branch information
scottdickerson committed Dec 10, 2020
1 parent 114a317 commit 88ff096
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/components/ImageCard/ImageCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const defaultProps = {
loadingDataLabel: 'Loading hotspot data',
dropContainerLabelText: 'Drag and drop file here or click to select file',
dropContainerDescText:
'Max file size is 1MB. Supported file types are: JPEG, PNG, GIF, WEBP, TIFF, JPEG2000',
'Max file size is 1MB. Supported file types are: APNG, AVIF, GIF, JPEG, PNG, WebP',
uploadByURLCancel: 'Cancel',
uploadByURLButton: 'OK',
browseImages: 'Add from gallery',
Expand Down
1 change: 0 additions & 1 deletion src/components/ImageCard/ImageUploader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ const i18nDefaults = {
uploadByURLCancel: 'Cancel',
uploadByURLButton: 'OK',
browseImages: 'Add from gallery',
uploadFile: 'Click to upload file',
insertUrl: 'Insert from URL',
urlInput: 'Type or insert URL',
errorTitle: 'Error: ',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1303,7 +1303,7 @@ exports[`Storybook Snapshot tests and console checks Storyshots Watson IoT/Image
<p
className="iot--image-uploader-drop-description-text"
>
Max file size is 1MB. Supported file types are: JPEG, PNG, GIF, WEBP, TIFF, JPEG2000
Max file size is 1MB. Supported file types are: APNG, AVIF, GIF, JPEG, PNG, WebP
</p>
<button
className="iot--btn bx--btn bx--btn--tertiary"
Expand Down
6 changes: 1 addition & 5 deletions src/components/ImageCard/_image-uploader.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@

&-drop-label-text {
color: $interactive-01;
display: flex;
align-items: center;
button {
margin-left: 1rem;
}
display: block;
@include carbon--type-style('productive-heading-02');
margin-bottom: $spacing-03;
}
Expand Down

0 comments on commit 88ff096

Please sign in to comment.