.uib-grid {display: -webkit-flex; display: -moz-flex; display: -ms-flexbox; display: -o-flex; display: flex; -webkit-flex-direction: column; -moz-flex-direction: column; -ms-flex-direction: column; -o-flex-direction: column; flex-direction: column; > .uib-grid-row {display: -webkit-flex; display: -moz-flex; display: -ms-flexbox; display: -o-flex; display: flex; -webkit-flex: 1; -moz-flex: 1; -ms-flex: 1; -o-flex: 1; flex: 1; > .uib-grid-cell {-webkit-flex: 1; -moz-flex: 1; -ms-flex: 1; -o-flex: 1; flex: 1; display: -webkit-flex; display: -moz-flex; display: -ms-flexbox; display: -o-flex; display: flex; > * {-webkit-flex: 1; -moz-flex: 1; -ms-flex: 1; -o-flex: 1; flex: 1; margin: 0 !important;height: auto !important;}> .button, > [data-role="button"] {padding: 0 !important;display: -webkit-flex !important; display: -moz-flex !important; display: -ms-flexbox !important; display: -o-flex !important; display: flex !important; -webkit-align-items: center; -moz-align-items: center; -ms-align-items: center; -o-align-items: center; align-items: center; -webkit-justify-content: center; -moz-justify-content: center; -ms-justify-content: center; -o-justify-content: center; justify-content: center; }> .table-thing {display: -webkit-flex; display: -moz-flex; display: -ms-flexbox; display: -o-flex; display: flex; > label.narrow-control {display: none;+ .wide-control {-webkit-flex: 1; -moz-flex: 1; -ms-flex: 1; -o-flex: 1; flex: 1; height: auto !important;}}}}&:first-child {> .uib-grid-cell {> *, .wide-control {border-bottom-left-radius: 0 !important;border-bottom-right-radius: 0 !important;}&:not(:first-child) > *, &:not(:first-child) .wide-control {border-top-left-radius: 0 !important;}&:not(:last-child) > *, &:not(:last-child) .wide-control {border-top-right-radius: 0 !important;}}}&:not(:first-child):not(:last-child) {> .uib-grid-cell {> *, .wide-control {border-radius: 0 !important;}}}&:last-child {> .uib-grid-cell {> *, .wide-control {border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;}&:not(:first-child) > *, &:not(:first-child) .wide-control {border-bottom-left-radius: 0 !important;}&:not(:last-child) > *, &:not(:last-child) .wide-control {border-bottom-right-radius: 0 !important;}}}}}