MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 27: | Line 27: | ||
/* Prevent text inputs from overflowing the mobile screen boundaries */ | /* Prevent text inputs from overflowing the mobile screen boundaries */ | ||
.pfForm input[type="text"], | .pfForm input[type="text"], | ||
.pfForm input[type="tokens"], | |||
.pfForm textarea, | .pfForm textarea, | ||
.pfForm select, | .pfForm select, | ||
Revision as of 19:15, 27 October 2026
body.category-Artist #ca-edit,
body.category-Artist #p-cactions #ca-edit {
display: none !important;
}
/* Force Page Forms tables to stack vertically on mobile screens */
@media screen and (max-width: 767px) {
.formtable,
.formtable tbody,
.formtable tr,
.formtable th,
.formtable td {
display: block !important;
width: 100% !important;
box-sizing: border-box !important;
text-align: left !important;
}
.formtable tr {
margin-bottom: 15px; /* Spacing between different fields */
}
.formtable th {
padding-bottom: 4px;
}
/* Prevent text inputs from overflowing the mobile screen boundaries */
.pfForm input[type="text"],
.pfForm input[type="tokens"],
.pfForm textarea,
.pfForm select,
.createboxInput {
width: 100% !important;
max-width: 100% !important;
box-sizing: border-box !important;
}
}