Commit fe21f3a
authored
Fix sizing of form elements when there is no label (#8196)
when the label is empty for some elements, it still includes
a col-sm-3 element which offsets the element and no way to
suppress it. Other elements do not include the 3 column space
for the label when there is no label provided. This causes
our elements to look weird and inconsistent when used in places
that we just want the element (ie. in a flexbox row.)
This fixes the
- DateElement
- TimeElement
- NumericElement
- FileElement
So that there is no space left for the label if the label is
not provided.1 parent f52b471 commit fe21f3a
1 file changed
+54
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1626 | 1626 | | |
1627 | 1627 | | |
1628 | 1628 | | |
1629 | | - | |
1630 | | - | |
1631 | | - | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
1632 | 1635 | | |
1633 | 1636 | | |
1634 | | - | |
1635 | | - | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
1636 | 1644 | | |
1637 | 1645 | | |
1638 | 1646 | | |
| |||
1717 | 1725 | | |
1718 | 1726 | | |
1719 | 1727 | | |
| 1728 | + | |
| 1729 | + | |
1720 | 1730 | | |
1721 | 1731 | | |
1722 | 1732 | | |
1723 | 1733 | | |
1724 | 1734 | | |
| 1735 | + | |
| 1736 | + | |
| 1737 | + | |
| 1738 | + | |
| 1739 | + | |
| 1740 | + | |
| 1741 | + | |
| 1742 | + | |
| 1743 | + | |
| 1744 | + | |
1725 | 1745 | | |
1726 | 1746 | | |
1727 | 1747 | | |
1728 | | - | |
1729 | | - | |
1730 | | - | |
1731 | | - | |
1732 | | - | |
| 1748 | + | |
| 1749 | + | |
1733 | 1750 | | |
1734 | 1751 | | |
1735 | 1752 | | |
| |||
1811 | 1828 | | |
1812 | 1829 | | |
1813 | 1830 | | |
1814 | | - | |
1815 | | - | |
1816 | | - | |
| 1831 | + | |
| 1832 | + | |
| 1833 | + | |
| 1834 | + | |
| 1835 | + | |
| 1836 | + | |
1817 | 1837 | | |
1818 | 1838 | | |
1819 | | - | |
1820 | | - | |
| 1839 | + | |
| 1840 | + | |
| 1841 | + | |
| 1842 | + | |
| 1843 | + | |
| 1844 | + | |
| 1845 | + | |
| 1846 | + | |
1821 | 1847 | | |
1822 | 1848 | | |
1823 | 1849 | | |
| |||
1965 | 1991 | | |
1966 | 1992 | | |
1967 | 1993 | | |
1968 | | - | |
1969 | | - | |
1970 | | - | |
| 1994 | + | |
| 1995 | + | |
| 1996 | + | |
| 1997 | + | |
1971 | 1998 | | |
1972 | 1999 | | |
1973 | | - | |
1974 | | - | |
| 2000 | + | |
| 2001 | + | |
| 2002 | + | |
| 2003 | + | |
| 2004 | + | |
| 2005 | + | |
| 2006 | + | |
| 2007 | + | |
| 2008 | + | |
1975 | 2009 | | |
1976 | 2010 | | |
1977 | 2011 | | |
| |||
0 commit comments