Skip to content
Snippets Groups Projects
Commit 9a403817 authored by Saurabh Kumar's avatar Saurabh Kumar Committed by Fredrik Jonsson
Browse files

Fix css styling for input type radio/checkbox

parent f69cbf8f
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,12 @@ ...@@ -3,6 +3,12 @@
{% block content %} {% block content %}
<div> <div>
<style>
{# fix for input field alignment #}
input[type=radio] {
vertical-align: middle;
}
</style>
{% block header %} {% block header %}
{% include "modeladmin/includes/header_with_breadcrumb.html" with title=view.get_page_title subtitle=view.get_page_subtitle icon=view.header_icon tabbed=True %} {% include "modeladmin/includes/header_with_breadcrumb.html" with title=view.get_page_title subtitle=view.get_page_subtitle icon=view.header_icon tabbed=True %}
{% endblock %} {% endblock %}
......
...@@ -9,6 +9,13 @@ ...@@ -9,6 +9,13 @@
{% trans "Editing" as editing_str %} {% trans "Editing" as editing_str %}
{% include "wagtailadmin/shared/header.html" with title=editing_str subtitle=user.get_username merged=1 tabbed=1 icon="user" %} {% include "wagtailadmin/shared/header.html" with title=editing_str subtitle=user.get_username merged=1 tabbed=1 icon="user" %}
<style>
{# fix for checkbox alignment #}
input[type=checkbox] {
vertical-align: text-bottom;
}
</style>
<div class="w-tabs" data-tabs> <div class="w-tabs" data-tabs>
<div class="w-tabs__wrapper"> <div class="w-tabs__wrapper">
<div role="tablist" class="w-tabs__list nice-padding"> <div role="tablist" class="w-tabs__list nice-padding">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment