🐛 Prevent scopes text overflow

This commit is contained in:
Iván Ovejero 2022-05-09 10:15:53 +02:00
parent 83b422582e
commit dc8d266fe4

View file

@ -42,7 +42,7 @@
adjustToNumber: scopes.length,
interpolate: {
activeCredential,
scopes: scopes.join(' '),
scopes: scopesText,
},
},
)"
@ -192,6 +192,9 @@ export default mixins(
return this.nodeType.properties;
},
scopesText(): string {
return this.scopes.map(scope => scope.replace(/\//g, '/<wbr>')).join('<br>');
},
},
props: {
eventBus: {