diff --git a/components/package.json b/components/package.json index ccb7f2fc0..aec6f758d 100644 --- a/components/package.json +++ b/components/package.json @@ -1,6 +1,6 @@ { "name": "oxd-components", - "version": "1.0.8-alpha.1", + "version": "1.0.8", "license": "GPL-3.0", "scripts": { "test:unit": "vue-cli-service test:unit", diff --git a/components/src/core/components/Buzz/BuzzPostInput.vue b/components/src/core/components/Buzz/BuzzPostInput.vue index 6317b6a9a..141088b22 100644 --- a/components/src/core/components/Buzz/BuzzPostInput.vue +++ b/components/src/core/components/Buzz/BuzzPostInput.vue @@ -125,9 +125,14 @@ export default defineComponent({ // scrollHeight is not calculated properly with // explicit heights. first set element height to auto // then calculate scrollheight and set element height + textArea.value.removeAttribute('style'); textArea.value.style.height = 'auto'; + if (!textArea.value.value) { textArea.value.style.height = '30px'; + textArea.value.style.overflow = 'hidden'; + textArea.value.style.whiteSpace = 'nowrap'; + textArea.value.style.textOverflow = 'ellipsis'; } else if (textArea.value.scrollHeight < 400) { textArea.value.style.height = textArea.value.scrollHeight + 'px'; textArea.value.style.overflowY = 'hidden'; diff --git a/components/src/core/components/Buzz/buzz-post-input.scss b/components/src/core/components/Buzz/buzz-post-input.scss index 349eb5c33..89126f353 100644 --- a/components/src/core/components/Buzz/buzz-post-input.scss +++ b/components/src/core/components/Buzz/buzz-post-input.scss @@ -31,6 +31,7 @@ width: 98%; resize: none; text-align: justify; + white-space: pre-wrap; word-break: break-word; box-sizing: border-box; padding: $oxd-buzz-post-input-margin; diff --git a/components/src/core/components/Tab/tab-container.scss b/components/src/core/components/Tab/tab-container.scss index 62da757d4..2d8164ebc 100644 --- a/components/src/core/components/Tab/tab-container.scss +++ b/components/src/core/components/Tab/tab-container.scss @@ -19,6 +19,7 @@ @import 'variables'; .oxd-tab { + touch-action: pan-y !important; &-bar { padding: $oxd-tab-bar-padding; } diff --git a/package.json b/package.json index d580ff675..2ffbe814b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "oxd", "license": "GPL-3.0", - "version": "1.0.8-alpha.1", + "version": "1.0.8", "private": true, "workspaces": [ "components",