mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
adding cover to node
This commit is contained in:
parent
f9a269137a
commit
c8593b7e7a
8 changed files with 204 additions and 10 deletions
|
@ -54,8 +54,6 @@ const EditorUploadButtonUnconnected: FC<IProps> = ({
|
|||
|
||||
if (current >= NODE_SETTINGS.MAX_FILES) return;
|
||||
|
||||
console.log({ type });
|
||||
|
||||
const items: IFileWithUUID[] = Array.from(uploads).map(
|
||||
(file: File): IFileWithUUID => ({
|
||||
file,
|
||||
|
|
|
@ -1,14 +1,16 @@
|
|||
.wrap {
|
||||
width: 52px;
|
||||
height: 52px;
|
||||
border-radius: 32px !important;
|
||||
@include outer_shadow();
|
||||
|
||||
width: $upload_button_height;
|
||||
height: $upload_button_height;
|
||||
border-radius: ($upload_button_height / 2) !important;
|
||||
position: relative;
|
||||
border-radius: $radius;
|
||||
cursor: pointer;
|
||||
// opacity: 0.7;
|
||||
transition: opacity 0.5s;
|
||||
background: $red_gradient;
|
||||
box-shadow: $content_bg 0 0 5px 10px;
|
||||
// box-shadow: $content_bg 0 0 5px 10px;
|
||||
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
|
@ -35,4 +37,4 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue