diff --git a/src/styles/_utils.sass b/src/styles/_utils.sass index 15cd33ce..2615cdb7 100644 --- a/src/styles/_utils.sass +++ b/src/styles/_utils.sass @@ -373,12 +373,8 @@ =node-details-description color: $color-text - font-size: 1.25em word-break: break-word - +media-xs - font-size: 1.1em - /* Style links without a class. Usually regular * links in a comment or node description. */ a:not([class]) diff --git a/src/styles/plugins/_js_select2.sass b/src/styles/plugins/_js_select2.sass index 26776b4a..d1b66fb1 100644 --- a/src/styles/plugins/_js_select2.sass +++ b/src/styles/plugins/_js_select2.sass @@ -1,7 +1,7 @@ @import ../config +$select2-dropdown-width: 180px .select2-container - width: 100% !important box-sizing: border-box display: inline-block margin: 0 @@ -20,9 +20,8 @@ display: block padding-left: 8px padding-right: 20px - overflow: hidden - text-overflow: ellipsis - white-space: nowrap + +text-overflow-ellipsis + max-width: $select2-dropdown-width .select2-selection__clear position: relative