unfoldadmin / django-unfold

Modern Django admin theme for seamless interface development
https://unfoldadmin.com
MIT License
1.03k stars 96 forks source link

Customize widget accross the admin #330

Closed eliu-fracta closed 1 month ago

eliu-fracta commented 1 month ago

image

As the screenshot indicates, the default input widget lacks a border. How can I customize the default input across the admin interface?

lukasvinclav commented 1 month ago

Please provide minimal example how to replicate this issue. I need to see widget class.

eliu-fracta commented 1 month ago

so it turns out that I can just customize the style by adding a style.css as the documentation described.

input[type="text"],
input[type="number"],
input[type="tel"],
input[type="date"],
input[type="email"] {
  border-width: 0.1em;
  padding: 0.5em;
  border-radius: 0.5em;
}