From feb3dd1327303318803af56fdcd8db0bebc0ff4e Mon Sep 17 00:00:00 2001 From: legonzaur Date: Sun, 1 Jun 2025 12:58:17 +0200 Subject: [PATCH] add radioButton component --- components/QuestionChoice.vue | 16 ++----------- components/RadioButton.vue | 43 +++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 14 deletions(-) create mode 100644 components/RadioButton.vue diff --git a/components/QuestionChoice.vue b/components/QuestionChoice.vue index b95705b..0c33ec3 100644 --- a/components/QuestionChoice.vue +++ b/components/QuestionChoice.vue @@ -1,10 +1,7 @@ @@ -32,15 +29,6 @@ const { values = ["Très bien", "Bien", "Passable", "Insuffisant", "À rejeter"] flex-wrap: nowrap; } -.emphased div { - padding: 3px; - border: 1px solid #444; - border-right: none; - text-overflow: ellipsis; - flex: 1 1 0; - width: 0; -} - .emphased div:last-child { border-right: 1px solid #444; } diff --git a/components/RadioButton.vue b/components/RadioButton.vue new file mode 100644 index 0000000..747bc39 --- /dev/null +++ b/components/RadioButton.vue @@ -0,0 +1,43 @@ + + + + + \ No newline at end of file