feat(V5): Update settings pages UI (#13396)
# 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
This commit is contained in:
@@ -10,12 +10,9 @@ defineProps({
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="flex items-center text-n-slate-11 text-xs min-w-0">
|
||||
<ChannelIcon
|
||||
:inbox="inbox"
|
||||
class="size-3 ltr:mr-1 rtl:ml-1 flex-shrink-0"
|
||||
/>
|
||||
<span class="truncate">
|
||||
<div :title="inbox.name" class="flex items-center gap-0.5 min-w-0">
|
||||
<ChannelIcon :inbox="inbox" class="size-4 flex-shrink-0 text-n-slate-11" />
|
||||
<span class="truncate text-label-small text-n-slate-11">
|
||||
{{ inbox.name }}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
@@ -11,7 +11,7 @@ defineProps({
|
||||
<h6
|
||||
class="flex items-center gap-3 text-base text-center w-100 text-n-slate-11"
|
||||
>
|
||||
<span class="text-base font-medium text-n-slate-12">
|
||||
<span class="text-body-main !text-base text-n-slate-12">
|
||||
{{ message }}
|
||||
</span>
|
||||
<Spinner class="text-n-brand" />
|
||||
|
||||
@@ -15,7 +15,7 @@ export default {
|
||||
|
||||
<template>
|
||||
<div class="border-b border-solid border-n-weak/60">
|
||||
<div class="max-w-6xl w-full mx-auto pt-4 pb-0 px-8">
|
||||
<div class="max-w-7xl w-full mx-auto pt-4 pb-0 px-6">
|
||||
<h2 class="text-2xl text-n-slate-12 mb-1 font-medium">
|
||||
{{ headerTitle }}
|
||||
</h2>
|
||||
|
||||
@@ -61,7 +61,7 @@ export default {
|
||||
|
||||
<template>
|
||||
<label class="input-container">
|
||||
<span v-if="label">{{ label }}</span>
|
||||
<span v-if="label" class="text-heading-3">{{ label }}</span>
|
||||
<input
|
||||
:value="modelValue"
|
||||
:type="type"
|
||||
@@ -71,7 +71,7 @@ export default {
|
||||
@input="onChange"
|
||||
@blur="onBlur"
|
||||
/>
|
||||
<p v-if="helpText" class="help-text">{{ helpText }}</p>
|
||||
<p v-if="helpText" class="help-text text-label-small">{{ helpText }}</p>
|
||||
<span v-if="error" class="message">
|
||||
{{ error }}
|
||||
</span>
|
||||
@@ -81,7 +81,7 @@ export default {
|
||||
|
||||
<style scoped lang="scss">
|
||||
.help-text {
|
||||
@apply mt-0.5 text-xs not-italic text-n-slate-11;
|
||||
@apply mt-0.5 not-italic text-n-slate-11;
|
||||
}
|
||||
|
||||
.message {
|
||||
|
||||
Reference in New Issue
Block a user