From 791dd3b0c434321a9547c3cc404cb78addb1b737 Mon Sep 17 00:00:00 2001 From: Gregory Wells Date: Sun, 14 Jun 2026 08:52:59 -0400 Subject: [PATCH] place resize anchors --- src/pages/profile_page.html | 18 ++++++---------- static/profile_page.css | 41 ++++++++++++++++++++----------------- 2 files changed, 28 insertions(+), 31 deletions(-) diff --git a/src/pages/profile_page.html b/src/pages/profile_page.html index defd8db..75460be 100644 --- a/src/pages/profile_page.html +++ b/src/pages/profile_page.html @@ -88,17 +88,6 @@ > - - - @@ -107,7 +96,12 @@ new-profile-image
-
+
+
+
+
+
+
diff --git a/static/profile_page.css b/static/profile_page.css index 028ca0d..9fcf208 100644 --- a/static/profile_page.css +++ b/static/profile_page.css @@ -200,23 +200,26 @@ z-index: 4; } -/* - -#resize_photo_box:hover { - cursor: grab; -} - -#new_profile_image { - height: 350px; - position: absolute; - transform: translateX(5px) translateY(5px); - object-fit: cover; -} - - -#image_container { - height: 350px; - width: fit-content; - position: absolute; +.resize_anchor { background-color: red; -}*/ + width: 20px; + height: 20px; + position: absolute; + pointer-events: none; +} + +#top_left_resize { + transform: translateX(-50%) translateY(-50%); +} + +#top_right_resize { + transform: translateX(340px) translateY(-50%); +} + +#bottom_left_resize { + transform: translateY(340px) translateX(-50%); +} + +#bottom_right_resize { + transform: translateX(340px) translateY(340px); +}