@tilde-nlp/website-translator 7.1.31 → 7.1.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  /*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js */
2
2
 
3
- /*! WTW version: v7.1.31 */
3
+ /*! WTW version: v7.1.33 */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tilde-nlp/website-translator",
3
3
  "description": "Widget to integrate in to another website to translate it",
4
- "version": "7.1.31",
4
+ "version": "7.1.33",
5
5
  "main": "dist/widget.js",
6
6
  "directories": {
7
7
  "doc": "docs",
@@ -6,7 +6,7 @@ $itemHoveredBackground: rgb(238, 238, 238);
6
6
 
7
7
  $machineTranslatedIconColor: $itemSelectedColor;
8
8
 
9
- $languageWidth: 250px;
9
+ $languageWidth: 150px;
10
10
  $itemHeight:45px;
11
11
 
12
12
  .website-translator {
@@ -149,8 +149,10 @@ $itemHeight:45px;
149
149
  }
150
150
 
151
151
  > .text {
152
- display: flex;
153
- flex-grow: 1;
152
+ flex-grow: 1;
153
+ text-overflow: ellipsis;
154
+ overflow: hidden;
155
+ white-space: nowrap;
154
156
  }
155
157
  > .icon {
156
158
  display: flex;