jamesjonesmath / canvancement

Enhancements to the Canvas LMS
ISC License
214 stars 95 forks source link

Button Size #36

Open jason-v-w opened 4 years ago

jason-v-w commented 4 years ago

I would like to request that the update-and-advance and the submit-and-advance buttons be larger (maybe closer to the size of the Canvas update button and submit button). They are currently a pretty small target to hit with a mouse and especially so with a trackpad.

jamesjonesmath commented 4 years ago

When I was developing this, I had them bigger and labeled with something other than an arrow, much like the Canvas ones. It was taking up too much space. I also didn't want it to be confused with the Canvas button that was there because my labels were longer than Canvas' so they looked like the main button. I briefly debated replacing the existing button with mine and just having one, but there is a time and place that you need to save without advancing, so I didn't program that.

Ultimately, I wanted the buttons to be as small and unobtrusive as possible, which is in direct conflict with your request.

What you can do is run the standalone version of the script and then modify the script in lines 299 and 300 to add additional padding to the left and right. Currently, there is just 1px of padding.