UC-Davis-molecular-computing / scadnano

Web application for designing DNA structures such as DNA origami.
https://scadnano.org
MIT License
22 stars 13 forks source link

fixes #902: make menu dropdown wider for Edit-->Copy/Paste/Select #905

Closed EdwinChang24 closed 1 year ago

EdwinChang24 commented 1 year ago

The issue was that the float: right CSS property on the keyboard shortcut element was causing the element's width to not be considered when computing the entire menu's width. This PR changes dropdown items to use flexbox with justify-content: space-between to align the keyboard shortcut to the right.

dave-doty commented 1 year ago

This PR looks good to merge whenever you're ready.