diff --git a/packages/kolibri-components/src/KRadioButton.vue b/packages/kolibri-components/src/KRadioButton.vue index b1b4c5049aa..7d37ff0fa3a 100644 --- a/packages/kolibri-components/src/KRadioButton.vue +++ b/packages/kolibri-components/src/KRadioButton.vue @@ -39,14 +39,14 @@ /> - {{ label }} - {{ label }} +
{{ description }} - +
@@ -188,17 +188,20 @@ height: $radio-height; } - .text, - .description { - display: inline-block; - } .text { + display: inline-block; max-width: calc(100% - #{$radio-height}); padding-left: 8px; line-height: $radio-height; } + + .truncate-text { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } + .description { - width: 100%; font-size: 12px; line-height: normal; }