choosehappy / PatchSorter

A tool for rapidly labeling objects using deep learning feature embedding
BSD 3-Clause Clear License
25 stars 9 forks source link

Dynamic resize box on embed view #5

Open abhijitramesh opened 1 year ago

abhijitramesh commented 1 year ago

The embed view has a lot of white space in the bottom while viewing the patches. This whitespace clips off the patch preview. This issue seems to be because of the hardcoded height value here. The height of this div needs to be adjusted dyamically.

choosehappy commented 1 year ago

Bingo, this looks to be it!

On Mon, Jul 25, 2022 at 1:58 PM Abhijit Ramesh @.***> wrote:

The embed view has a lot of white space in the bottom while viewing the patches. This whitespace clips off the patch preview. This issue seems to be because of the hardcoded height value here https://github.com/choosehappy/PatchSorter/blob/2b2f05c07b04101e47ef8b53964fb37a84f7adbb/templates/embed.html#L140. The height of this div needs to be adjusted dyamically.

— Reply to this email directly, view it on GitHub https://github.com/choosehappy/PatchSorter/issues/5, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJ3XTG7OE6ANUH2XNFNWELVVZ6ONANCNFSM54SAQ7UA . You are receiving this because you are subscribed to this thread.Message ID: @.***>