UNPKG

ng-zorro-antd

Version:

An enterprise-class UI components based on Ant Design and Angular

50 lines (45 loc) 1.14 kB
textarea.nz-textarea-autosize-measuring { height: auto !important; overflow: hidden !important; // Having 2px top and bottom padding seems to fix a bug where Chrome gets an incorrect // measurement. We just have to account for it later and subtract it off the final result. padding: 2px 0 !important; } .@{search-prefix} { &-enter-button { & + .@{ant-prefix}-input-group-addon, input + .@{ant-prefix}-input-group-addon { .@{search-rtl-cls}& { .@{search-prefix}-button.@{ant-prefix}-btn-icon-only { .square(@btn-height-base); &.@{ant-prefix}-btn-sm{ .square(@btn-height-sm); } &.@{ant-prefix}-btn-lg{ .square(@btn-height-lg); } } } } } } .@{ant-prefix}-input { &-suffix { display: flex; flex: none; align-items: center; pointer-events: none; } &-suffix { position: absolute; top: 0; right: 0; z-index: 1; height: 100%; margin-right: @input-padding-horizontal-base; margin-left: @input-affix-margin; } &&-has-feedback { padding-right: @padding-lg; } }