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
45 lines
605 B
SCSS
45 lines
605 B
SCSS
notes-box, related-box {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
|
|
&[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
&:not([mode=edit]) {
|
|
.add {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding-inline-start: 16px;
|
|
|
|
.row {
|
|
display: flex;
|
|
gap: 4px;
|
|
align-items: flex-start;
|
|
|
|
@include comfortable {
|
|
padding-block: 2px;
|
|
}
|
|
|
|
.box {
|
|
@include clicky-item;
|
|
flex: 1;
|
|
}
|
|
|
|
toolbarbutton {
|
|
margin-inline-start: auto;
|
|
visibility: hidden;
|
|
}
|
|
|
|
&:is(:hover, :focus-within) toolbarbutton {
|
|
visibility: visible;
|
|
}
|
|
}
|
|
}
|
|
}
|