Difference between revisions of "Module:Authority control/styles.css"

From blackwiki
Jump to navigation Jump to search
blackwiki>Tacsipacsi
(Created page with '@media screen and (max-width: 719px) { .authority-control { display: block !important; →‎even on mobile: } .authority-control tbody, .authority-control...')
 
blackwiki>Tacsipacsi
(Not even display:block !important works on mobile, it seems to simply disappear from the HTML code. Good job, MobileFrontend developers…)
Line 1: Line 1:
 
@media screen and (max-width: 719px) {
 
@media screen and (max-width: 719px) {
.authority-control {
 
display: block !important; /* even on mobile */
 
}
 
 
.authority-control tbody,
 
.authority-control tbody,
 
.authority-control tr,
 
.authority-control tr,

Revision as of 10:33, 24 February 2020

@media screen and (max-width: 719px) {
	.authority-control tbody,
	.authority-control tr,
	.authority-control th,
	.authority-control td,
	.authority-control .navbox-row > th + td {
		display: block;
		text-align: center;
	}
	.authority-control th {
		width: auto !important; /* override [[Module:Navbox]]’s inline width:1% */
	}
}