6af4605bd0
- Implement attachment preview - Implement attachment-box redesign - Make filename editable - Use new reindex icon - Update attachment note layout - Fix reader.js eslint errors - Add fallback attachment icon and use redesign - Use attachment preview for regular items - Fix pinned pane not exists error - Double click preview to open to page - Fix itemPane pin bug - Preload preview iframe - Fix item pane scroll - Add media preview support - Fix item pane scroll bar on macos - Fix reader sidebar with standalone attachment - Fix attributeChangedCallback - Add attachmentBox _updateAttachmentIDs - Make attachment notes readonly and simplify note window script - Implement convert attachment note to new note - Support preview dragging - Annotations box redesign - Support custom buttons in the collapsible-section - Add preview toggle button - Fix collapsible section attribute listener - Make attachment box notify sync to fix errors in test
30 lines
401 B
SCSS
30 lines
401 B
SCSS
attachment-preview-box {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
&[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
.body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
#preview-placeholder {
|
|
display: none;
|
|
color: var(--fill-secondary);
|
|
margin: 8px;
|
|
}
|
|
|
|
&:not([data-use-preview]) {
|
|
#preview-placeholder {
|
|
display: unset;
|
|
}
|
|
|
|
#attachment-preview {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|