Для удобства чтения я создаю переменную LESS, например:
@xs-query: ~
"(orientation: landscape) and (max-width: 550px), (orientation: landscape) and (max-height: 360px)," +
"(orientation: portrait) and (max-width: 360px), (orientation: portrait) and (max-height: 550px)";
@media @xs-query {
}
, который генерирует медиа-запрос с избыточными кавычками:
@media (orientation: landscape) and (max-width: 550px), (orientation: landscape) and (max-height: 360px), "(orientation: portrait) and (max-width: 360px), (orientation: portrait) and (max-height: 550px)" {
Есть ли какой-нибудь правильный способ объединения двух строк при сохранении их в отдельных строках (желательно без разделения строки на две переменные, объединенные в третью)?