From a7f946823ae1a25c5b51c0c77e8a46dd4f2ae397 Mon Sep 17 00:00:00 2001 From: Hyun Ahn Date: Tue, 5 May 2020 19:25:04 +0900 Subject: [PATCH] fixed with guideline --- .../kolibri-components/src/KRadioButton.vue | 24 ++++++++----------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/packages/kolibri-components/src/KRadioButton.vue b/packages/kolibri-components/src/KRadioButton.vue index 18e5609369b..6777492b054 100644 --- a/packages/kolibri-components/src/KRadioButton.vue +++ b/packages/kolibri-components/src/KRadioButton.vue @@ -39,14 +39,14 @@ /> - {{ label }} - {{ label }} +
{{ description }} - +
@@ -188,25 +188,21 @@ 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; } - .description { - width: 100%; - font-size: 12px; - line-height: normal; - } + .truncate-text { - display: inline-block; - width: 100%; overflow: hidden; text-overflow: ellipsis; } + .description { + font-size: 12px; + line-height: normal; + } +