Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions src/components/Layout/ContentHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ type HeaderText = {
interface Props {
iconName: string
headerTexts: Array<HeaderText>
detail: string
}
const props = defineProps<Props>()
</script>
Expand Down Expand Up @@ -43,9 +42,6 @@ const props = defineProps<Props>()
<span v-else>{{ headerText.title }}</span>
</template>
</h1>
<p :class="$style.detail">
{{ props.detail }}
</p>
</div>
</template>

Expand All @@ -54,7 +50,6 @@ const props = defineProps<Props>()
display: flex;
align-items: center;
color: $color-primary;
margin-bottom: 0.5rem;
font-size: 1.5rem;
flex-wrap: wrap;
}
Expand All @@ -76,9 +71,4 @@ const props = defineProps<Props>()
.chevron {
display: flex;
}

.detail {
color: $color-secondary;
font-size: 0.875rem;
}
</style>
15 changes: 10 additions & 5 deletions src/pages/UserAccounts.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ const me = (await apis.getMe()).data
{ title: 'Profile', path: { name: 'Profile' } },
{ title: 'Accounts', path: { name: 'UserAccounts' } }
]"
detail="アカウント情報を変更します。"
:class="$style.header"
/>
</div>
<div :class="$style.subHeaderContainer">
<p :class="$style.detailText">アカウント情報を変更します。</p>
<link-button
:to="{ name: 'UserAccountsNew' }"
type="primary"
Expand All @@ -37,7 +38,6 @@ const me = (await apis.getMe()).data
<account-item :account="account" />
</li>
</ul>

<link-button
:to="{ name: 'Profile' }"
:class="$style.backButton"
Expand All @@ -51,12 +51,17 @@ const me = (await apis.getMe()).data

<style lang="scss" module>
.headerContainer {
display: flex;
align-items: center;
}
.subHeaderContainer {
display: flex;
justify-content: space-between;
align-items: center;
}
.header {
margin-bottom: 2rem;
.detailText {
font-size: 0.875rem;
color: $color-secondary;
}
.accountList {
list-style: none;
Expand Down
Loading