Convert timezone and language settings to SettingItems
This commit is contained in:
@@ -4,13 +4,17 @@ export default {
|
||||
name: 'Section',
|
||||
props: {
|
||||
title: String,
|
||||
padding: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="section">
|
||||
<div class="section" :class="{ 'section-extra-padding': padding }">
|
||||
<h2 class="section-header">
|
||||
<slot name="header-title">{{ title }}</slot>
|
||||
<div><slot name="header-buttons"></slot></div>
|
||||
@@ -60,4 +64,8 @@ export default {
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.section-extra-padding .section-body {
|
||||
padding: 10px 25px;
|
||||
}
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user