.settings-ui-input { page-break-inside: avoid; * { page-break-inside: avoid; } label { font-weight: bold; min-width: 14rem; display: inline-block; } input { padding: 4px; } input.input-crror, textarea.input-error { box-shadow: 0 0 2px red; } &-error { font-weight: bold; color: red; min-height: 1.5em; } }