# Pull Request Template ## Description This PR updates settings page UI ## Type of change - [x] New feature (non-breaking change which adds functionality) ## Checklist: - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my code - [x] I have commented on my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [x] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published in downstream modules
23 lines
408 B
Vue
23 lines
408 B
Vue
<script setup>
|
|
defineProps({
|
|
align: {
|
|
type: String,
|
|
default: 'start',
|
|
validator: value => ['start', 'center', 'end'].includes(value),
|
|
},
|
|
});
|
|
</script>
|
|
|
|
<template>
|
|
<td
|
|
class="py-3 ltr:pr-4 rtl:pl-4 text-body-main"
|
|
:class="{
|
|
'text-start': align === 'start',
|
|
'text-center': align === 'center',
|
|
'text-end': align === 'end',
|
|
}"
|
|
>
|
|
<slot />
|
|
</td>
|
|
</template>
|