I wanted to use the
daq.ColorPicker() but I don’t understand, where a certain border radius is coming from. Take this example:
from dash import Dash, html import dash_daq as daq app = Dash(__name__) app.layout = html.Div([ daq.ColorPicker( id='my-color-picker-1', value=dict(hex='#119DFF') ) ]) if __name__ == '__main__': app.run_server(debug=True, port=8055)
You can observe something like a half circle right below the color display. Inspecting the page, there is a border-radius applied on the div, but I’m not able to get rid of it. Actually, I don’t understand where this is coming from, as it does not appear in the example in the docs
I’m not sure, but the only reference I can find concerning a border-radius for the ColorPicker is this one:
I tried with some css in the custom.css file but maybe this is not possible because the border radius is set inline with !important, but I’m just guessing here.