@import '~antd/lib/style/themes/default.less'; .area_code { width: 30%; max-width: 128px; margin-right: 8px; } .phone_number { width: ~'calc(70% - 8px)'; max-width: 312px; }