mathquill / mathquill

Easily type math in your webapp
http://mathquill.com
Mozilla Public License 2.0
2.65k stars 700 forks source link

How to customise default border #1035

Closed Lyudol closed 10 months ago

Lyudol commented 11 months ago

I can't at all seem to figure out how to edit that default blue border around a focused input box. I can't find it in the documentation or anything. Does anyone know how to do this?

nedredmond commented 10 months ago

You would just need to target it with CSS, like so:

.mq-editable-field.mq-focused {
  box-shadow: unset;
  border-color: unset;
}
Lyudol commented 10 months ago

Thanks, that worked