MediaWiki:Gadget-calculator-core.css

From WikiAnesthesia
Revision as of 19:36, 18 July 2021 by Chris Rishel (talk | contribs) (Created page with "@media only screen and (max-width: 529px) { .calculator-input-text-compact { padding-right: 0.5rem; padding-left: 0.5rem; width: 3rem !important;...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
@media only screen and (max-width: 529px) {  
    .calculator-input-text-compact {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
        width: 3rem !important;
    }
}

@media only screen and (min-width: 530px) and (max-width: 949px) {
    .calculator-input-text-compact {
        width: 4rem !important;
    }
}

@media only screen and (max-width: 529px) {
    .calculator-input-select-compact {
        padding-right: 1.5rem;
        padding-left: 0.5rem;
    }
}