diff options
author | André Oliveira <37463445+SpecialAro@users.noreply.github.com> | 2022-07-06 23:57:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-06 22:57:25 +0000 |
commit | 395850868b51b8c9aa077560bd0b4a4d80478fe7 (patch) | |
tree | 893d348bcdc355919069ca743d4f10cd54c8f2b8 /src/styles/image-upload.scss | |
parent | Upgrade 'electron' to '19.0.8' (diff) | |
download | ferdium-app-395850868b51b8c9aa077560bd0b4a4d80478fe7.tar.gz ferdium-app-395850868b51b8c9aa077560bd0b4a4d80478fe7.tar.zst ferdium-app-395850868b51b8c9aa077560bd0b4a4d80478fe7.zip |
Add file size info and error message while setting a custom image in the recipe settings screen (#437)
Co-authored-by: Ricardo Cino <ricardo@cino.io>
Co-authored-by: Vijay Aravamudhan <vraravam@users.noreply.github.com>
Diffstat (limited to 'src/styles/image-upload.scss')
-rw-r--r-- | src/styles/image-upload.scss | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/styles/image-upload.scss b/src/styles/image-upload.scss index b5f6d5cd4..900a69a48 100644 --- a/src/styles/image-upload.scss +++ b/src/styles/image-upload.scss | |||
@@ -112,3 +112,17 @@ | |||
112 | color: $theme-gray-light; | 112 | color: $theme-gray-light; |
113 | font-size: 40px; | 113 | font-size: 40px; |
114 | } | 114 | } |
115 | |||
116 | .image-upload-wrapper__file-size { | ||
117 | display: flex; | ||
118 | color: $theme-gray-light; | ||
119 | font-size: 10px; | ||
120 | margin-top: 3px; | ||
121 | } | ||
122 | |||
123 | .image-upload-wrapper__file-size-error { | ||
124 | display: flex; | ||
125 | color: $theme-brand-danger; | ||
126 | font-size: 12px; | ||
127 | margin-top: 10px; | ||
128 | } | ||