1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-24 09:21:12 +00:00

Add responsiveness to tabular forms (#19097).

Patch by Felix Gliesche.

git-svn-id: http://svn.redmine.org/redmine/trunk@14825 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2015-11-07 13:46:55 +00:00
parent e9a01896d0
commit 0d58591338

View File

@ -13,6 +13,7 @@
D) TOGGLE BUTTON & FLYOUT MENU
E) UX ELEMENTS
F) PAGE SPECIFIC STYLES
G) FORMS
*/
@ -737,4 +738,30 @@
{
margin: 0;
}
/*----------------------------------------*\
G) FORMS
\*----------------------------------------*/
/* tabular forms resets for mobile */
.box.tabular p {
padding-left: 0;
}
.box.tabular label {
display: block;
width: 100%;
margin-left: 0;
text-align: left;
}
.box.tabular input, .box.tabular select, .box.tabular textarea {
width: 100%;
max-width: 100%;
}
.box.tabular input[type="checkbox"] {
width: auto;
max-width: 95%;
}
}