mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 17:58:55 +00:00
light cleanup
This commit is contained in:
1 parent
ad29d720d7
commit
4f3a395e39
3 files changed
+1
-43
No files matched your search
@@ -17,7 +17,7 @@ export default function useCoverImgUpload() {
|
||||
uuid_idempotency_token: uuidv4(),
|
||||
file: fileProps.file,
|
||||
source: "file",
|
||||
}) // if there an audio file it uploads here
|
||||
})
|
||||
.then((res: UploadMediaResponse) => {
|
||||
if ("media_file_token" in res) {
|
||||
statusSet(FetchStatus.success);
|
||||
|
||||
@@ -4,10 +4,6 @@ import { FetchStatus } from "@storyteller/components/src/api/_common/SharedFetch
|
||||
import { useCoverImgUpload } from "hooks";
|
||||
import { v4 as uuidv4 } from "uuid";
|
||||
|
||||
// interface Props {
|
||||
// value?: any;
|
||||
// }
|
||||
|
||||
// this hook is mostly for organizational purposes while I work -V
|
||||
|
||||
export default function useSdUpload() {
|
||||
|
||||
@@ -37,44 +37,6 @@
|
||||
// padding-left: 2rem;
|
||||
// }
|
||||
|
||||
.fy-cover-img-input {
|
||||
// background-color: red;
|
||||
position: relative;
|
||||
height: 0;
|
||||
padding-bottom: 100%;
|
||||
|
||||
.fy-cover-control {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.upload-control-btn {
|
||||
background-color: rgba($secondary, 0.8);
|
||||
backdrop-filter: blur(2px);
|
||||
border: none;
|
||||
margin: auto auto 1rem auto;
|
||||
}
|
||||
}
|
||||
|
||||
.weight-initial-cover-img {
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
border-radius: 0.5rem;
|
||||
position: absolute;
|
||||
// display: flex;
|
||||
overflow: hidden;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
// padding-bottom: 100%;
|
||||
|
||||
div {
|
||||
// background-color: red;
|
||||
display: flex;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
}
|
||||
}
|
||||
|
||||
.form-group {
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user