Auto Set %, PX, EM, VW, VH, etc

Can I ask for two feature requests, that I think, at least compared to what else you have on your plate, should be relatively easy implements?

  1. When entering a number in a spacing or font box, if I type in say 30%, it automatically changes the measurement to what I typed (%) and removes that part from the input box, leaving just the number? Right now most boxes have default measurements (usually PX) and so the workflow requires you to enter the number, click the measurement, and then click again to change it to %, EM, VW, etc. This solution removes all mouse use out of the equation. Just type in “30vw” and poof, it puts 30 in the box, and changes the measurement to VW. Isn’t that amazeballs? Seriously guys, you know it is. Get your top JavaScript guys on it.

  2. I’ve requested this for like 15 years but still no dice…if a page has its own CSS, can you color in the CSS button in the left sidebar? I don’t care what color you use. Blue, gold, pink, purple…whatever…just some indicator that the page has its own CSS so I don’t have to waste time looking. Super helpful. Thanks and Happy New Year.

Hello @co50,

Thanks for writing in!

  1. Your feedback has been noted. We’ve added this as a feature request so it can be taken into consideration for future development.

  2. Please be advised that you can add a custom body class to specific pages and use this class for your custom css to target elements within the page.

And in your custom css, you can use this code to target the buttons in your sidebar:

.my-page-color-class .x-sidebar .x-btn {
  color: red;
  background-color: yellow;
}

Hope this helps.

Hey @co50,

We’re sorry for the confusion about your 2nd and past feature request about the CSS button color or indicator if a page has custom CSS. Our development team is aware of this but there might be a reason why this isn’t added yet. Please stay tuned for updates.

Thanks.

Thanks Christian and Rue. @RueNel get some sleep, bud!

Glad to help @co50.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.

@co50

I’m a bit late to the party here, but just wanted to let you know that you can do #1 already. Just type 5em for example and press “enter/return”. We actually tried it the way you described where it was immediate but in beta testing realized it is a bit jarring for the letters to disappear without prompting.