New .core CSS class for inputs and buttons

* Initial .core input/button classes, refs #2415
* Docs for the new .core CSS class, refs #2415
* Applied .core class everywhere that needs it, closes #2415
This commit is contained in:
Simon Willison 2024-09-03 08:37:26 -07:00 committed by GitHub
commit 2170269258
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 46 additions and 23 deletions

View file

@ -268,7 +268,7 @@ def test_view_query(allow, expected_anon, expected_auth):
def test_execute_sql(config):
schema_re = re.compile("const schema = ({.*?});", re.DOTALL)
with make_app_client(config=config) as client:
form_fragment = '<form class="sql" action="/fixtures/-/query"'
form_fragment = '<form class="sql core" action="/fixtures/-/query"'
# Anonymous users - should not display the form:
anon_html = client.get("/fixtures").text