feat: add custom file input for images
This commit is contained in:
26
src/app/components/image-uploader/image-uploader.scss
Normal file
26
src/app/components/image-uploader/image-uploader.scss
Normal file
@@ -0,0 +1,26 @@
|
||||
.image-preview {
|
||||
&__container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.file-input {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.file-upload {
|
||||
align-items: center;
|
||||
box-sizing: border-box;
|
||||
display: inline-flex;
|
||||
justify-content: space-between;
|
||||
min-width: 196px;
|
||||
width: 100%;
|
||||
|
||||
&__description {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user