Changeset 748


Ignore:
Timestamp:
Aug 27, 2021 2:38:11 AM (3 years ago)
Author:
anonymous
Message:

Set max-width for form inputs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/css/utilities.inc.css

    r741 r748  
    11/**
    22* utilities.inc.css
    3 * Global utility styles often in Strangecode applications.
     3* Common styles used in Strangecode applications.
    44*/
    55
     
    2929Note: avoid adding whitespace between input elements, or add `display: flex;` to the inputs' parent.
    3030*/
    31 input.sc-micro, textarea.sc-micro, select.sc-micro, label.sc-micro      { width: 2.5rem; }
    32 input.sc-tiny, textarea.sc-tiny, select.sc-tiny, label.sc-tiny          { width: 5rem; }
    33 input.sc-small, textarea.sc-small, select.sc-small, label.sc-small      { width: 10.5rem; }
    34 input.sc-medium, textarea.sc-medium, select.sc-medium, label.sc-medium  { width: 21.5rem; }
    35 input.sc-large, textarea.sc-large, select.sc-large, label.sc-large      { width: 43.5rem; }
    36 input.sc-full, textarea.sc-full, select.sc-full, label.sc-full          { width: 100%; }
     31input.sc-micro, textarea.sc-micro, select.sc-micro, label.sc-micro      { width: 2.5rem; max-width: 100%; }
     32input.sc-tiny, textarea.sc-tiny, select.sc-tiny, label.sc-tiny          { width: 5rem; max-width: 100%; }
     33input.sc-small, textarea.sc-small, select.sc-small, label.sc-small      { width: 10.5rem; max-width: 100%; }
     34input.sc-medium, textarea.sc-medium, select.sc-medium, label.sc-medium  { width: 21.5rem; max-width: 100%; }
     35input.sc-large, textarea.sc-large, select.sc-large, label.sc-large      { width: 43.5rem; max-width: 100%; }
     36input.sc-full, textarea.sc-full, select.sc-full, label.sc-full          { width: 100%; max-width: 100%; }
    3737textarea.sc-twolines, select.sc-twolines              { height: 3.5rem; }
    3838textarea.sc-short, select.sc-short                    { height: 8rem; }
Note: See TracChangeset for help on using the changeset viewer.