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:
@@ -1,7 +1,4 @@
|
||||
<ul>
|
||||
<li id="post-option-resize-to-window">
|
||||
<%= link_to "Resize to window", "#", id: "image-resize-to-window-link" %>
|
||||
</li>
|
||||
<li id="post-option-find-similar">
|
||||
<%= link_to "Find similar", iqdb_queries_path(post_id: post.id) %>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user