I'm trying to set dimensions of an autocomplete dropdown using
.ui-autocomplete.ui-menu {
width: 16.666667% !important;
width: -moz-calc(100%/6 - 24px) !important;
width: -webkit-calc(100%/6 - 24px) !important;
width: -o-calc(100%/6 - 24px) !important;
width: calc(100%/6 - 24px) !important;
}
This is written in less. The compiled output is not as expected 16.667% - 24px but instead it ignores the px dimension and outputs -7.333px. Is my calculation wrong? Tried any combination of brackets etc.