Convert notes to use percentages instead of exact coordinates
- This allows for the note boxes to be easily resized -- Now resizing the note container resizes all of the note boxes -- The z-index and position values had to be adjusted for this --- So that the note/preview boxes were still visible --- So that the image was selectable with right clicks - All of the inner box styles have been moved to the outer box -- Now the inner box is only a container for the note body - The always resize image option has been removed from user settings -- The value still exists on the model for future rename/reuse - The max width is set at 100% for responsive mode to fit the screen
This commit is contained in:
@@ -113,11 +113,10 @@
|
||||
--note-body-background: #FFE;
|
||||
--note-body-text-color: var(--text-color);
|
||||
--note-body-border: 1px solid black;
|
||||
--note-box-border: 1px solid white;
|
||||
--note-box-background: transparent;
|
||||
--note-box-inner-border: 1px solid black;
|
||||
--unsaved-note-box-inner-border: 1px solid red;
|
||||
--movable-note-box-inner-border: 1px solid green;
|
||||
--note-box-border: 1px solid black;
|
||||
--note-box-shadow: 0 0 0 1px white;
|
||||
--unsaved-note-box-border: 1px solid red;
|
||||
--movable-note-box-border: 1px solid green;
|
||||
--note-preview-border: 1px solid red;
|
||||
--note-preview-background: white;
|
||||
--note-highlight-color: blue;
|
||||
|
||||
Reference in New Issue
Block a user