@import "../../globals.core"; // Label // -------------------------------------------------- ion-label { display: block; font-size: inherit; white-space: nowrap; margin: 0; flex: 1; text-overflow: ellipsis; overflow: hidden; } .item-input ion-label { max-width: 200px; flex: initial; pointer-events: none; } [text-wrap] ion-label { white-space: normal; } // Stacked & Floating Inputs // -------------------------------------------------- ion-label[fixed] { flex: 0 0 30%; width: 30%; min-width: 100px; max-width: 200px; } .item-label-stacked, .item-label-floating { flex-direction: column; align-items: flex-start; } ion-label[stacked], ion-label[floating] { align-self: stretch; margin-bottom: 0; max-width: 100%; } ion-label[stacked], ion-label[floating] { align-self: stretch; width: auto; }