Page MenuHomePhabricator

Hide InputBox when printed
Closed, ResolvedPublic

Description

An input box, along with its button controls and label, is probably not useful when printed.

Adding a @media print rule with a display: none declaration to resources/ext.inputBox.styles.css could hide the input box when printed.

The existing display: inline-table !important declaration may be an obstacle.

Event Timeline

Not clear why this is considered technical-debt. I understand the desire for the change as described, but I wouldn't generally consider it TD. For more information on our evolving TD definition, please see: https://www.mediawiki.org/wiki/Technical_debt

If after reading our evolving definition you still feel this is TD, please do provide your feedback.

Thanks for the feedback.

I checked that page before adding the tag. !important placed as a quick CSS fix, which now makes another change more difficult, seemed clearly like technical debt to me.

Change 743694 had a related patch set uploaded (by TheDJ; author: TheDJ):

[mediawiki/extensions/InputBox@master] Hide interactive inputbox in print

https://gerrit.wikimedia.org/r/743694

Asked for feedback, this seems reasonable.

Change 743694 merged by jenkins-bot:

[mediawiki/extensions/InputBox@master] Hide interactive inputbox in print

https://gerrit.wikimedia.org/r/743694

TheDJ claimed this task.
TheDJ subscribed.

yup