diff --git a/src/layouts/component-test/component-test.vue b/src/layouts/component-test/component-test.vue index 15b42874c..1c6b82efe 100644 --- a/src/layouts/component-test/component-test.vue +++ b/src/layouts/component-test/component-test.vue @@ -89,6 +89,7 @@ radioID="2021" loaderColor="blue" loaderPosition="right" + sizeInRem="1" /> diff --git a/src/styles/mixins/customMixins.scss b/src/styles/mixins/customMixins.scss index fd6c11206..ab4ba18a5 100644 --- a/src/styles/mixins/customMixins.scss +++ b/src/styles/mixins/customMixins.scss @@ -38,16 +38,16 @@ } } //Spinner position - &.center:after { + &.center { left: 0; right: 0; margin: 0 auto; } - &.right:after { - right: 1rem; + &.right { + margin: 0 0 0 auto; } - &.left:after { - left: 1rem; + &.left { + margin: 0 auto 0 0; } //Spinner color &:after { //Default spinner color (blue) if no other color is specified from the options below diff --git a/src/ux-components/radio-list/radio-list.vue b/src/ux-components/radio-list/radio-list.vue index 13ca433b3..4647f58ce 100644 --- a/src/ux-components/radio-list/radio-list.vue +++ b/src/ux-components/radio-list/radio-list.vue @@ -2,8 +2,12 @@
+ >{{radioID}} + +

{{errorMessage}}

@@ -18,7 +22,8 @@ export default { "radioID", "errorMessage", "loaderColor", - "loaderPosition" + "loaderPosition", + "sizeInRem" ], data() { @@ -32,5 +37,8 @@ export default { this.isLoading = true; }, }, + components: { + loader, + }, };