diff --git a/tools/winscope/src/App.vue b/tools/winscope/src/App.vue index 89627c6b2..75d7b32bf 100644 --- a/tools/winscope/src/App.vue +++ b/tools/winscope/src/App.vue @@ -279,4 +279,18 @@ a { .data-view-container { padding: 25px 20px 0 20px; } + +.snackbar-break-words { + /* These are technically the same, but use both */ + overflow-wrap: break-word; + word-wrap: break-word; + -ms-word-break: break-all; + word-break: break-word; + /* Adds a hyphen where the word breaks, if supported (No Blink) */ + -ms-hyphens: auto; + -moz-hyphens: auto; + -webkit-hyphens: auto; + hyphens: auto; + padding: 10px 10px 10px 10px; + } diff --git a/tools/winscope/src/DataInput.vue b/tools/winscope/src/DataInput.vue index 6517ad36b..6bd7e354f 100644 --- a/tools/winscope/src/DataInput.vue +++ b/tools/winscope/src/DataInput.vue @@ -91,7 +91,7 @@ :md-active.sync="showSnackbar" md-persistent > - {{ snackbarText }} +

{{ snackbarText }}

close @@ -137,7 +137,7 @@ export default { }, methods: { showSnackbarMessage(message, duration) { - this.snackbarText = message; + this.snackbarText = '\n' + message + '\n'; this.snackbarDuration = duration; this.showSnackbar = true; }, @@ -534,4 +534,4 @@ export default { }, }; - + \ No newline at end of file