Don't hide labels for mobile cactions that have no icon

Not necessarily ideal handling in terms of making things fit, but
should at least avoid issues of there being no things at all, which
is even worse.

bug: T202213
Change-Id: I1aeeddbcac838b475372691d8d76c72018f85787
isekai
Isarra 7 years ago
parent fa38af9644
commit a2e3b727bb

@ -17,10 +17,12 @@
@media ( max-width: @mobile-width ) {
#ca-ve-edit a {
.ca-icon();
.background-image-svg( '../images/pencil-grey.svg', '../images/pencil-grey.png' );
}
#ca-edit a {
.ca-icon();
.background-image-svg( '../images/brackets-grey.svg', '../images/brackets-grey.png' );
}
}

@ -173,31 +173,33 @@ h1.firstHeading {
}
}
#mw-page-header-links a {
.ca-icon();
}
#ca-edit a {
.ca-icon();
.background-image-svg( 'images/pencil-grey.svg', 'images/pencil-grey.png' );
}
#ca-history a {
.ca-icon();
.background-image-svg( 'images/clock-grey.svg', 'images/clock-grey.png' );
}
#ca-talk a {
.ca-icon();
.background-image-svg( 'images/talk-grey.svg', 'images/talk-grey.png' );
}
#t-contributions a {
.ca-icon();
.background-image-svg( 'images/puzzle-grey.svg', 'images/puzzle-grey.png' );
}
#ca-addsection a {
.ca-icon();
.background-image-svg( 'images/plus-grey.svg', 'images/plus-grey.png' );
}
*[ id^='ca-nstab-' ] a {
.ca-icon();
.background-image-svg( 'images/page-grey.svg', 'images/page-grey.png' );
}

Loading…
Cancel
Save