remove extra-padding, ununsed
This commit is contained in:
@@ -100,7 +100,7 @@ onMounted(async () => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Section :title="$t('domains.changeDashboardDomain.title')" :padding="false">
|
||||
<Section :title="$t('domains.changeDashboardDomain.title')">
|
||||
<template #header-buttons>
|
||||
<Button tool secondary :menu="taskLogsMenu" :disabled="!taskLogsMenu.length">{{ $t('main.action.logs') }}</Button>
|
||||
</template>
|
||||
|
||||
@@ -153,7 +153,7 @@ onMounted(async () => {
|
||||
</div>
|
||||
</Dialog>
|
||||
|
||||
<Section :title="$t('network.firewall.title')" :padding="false">
|
||||
<Section :title="$t('network.firewall.title')">
|
||||
<SettingsItem>
|
||||
<FormGroup>
|
||||
<label>{{ $t('network.firewall.blockedIpRanges') }}</label>
|
||||
|
||||
@@ -103,7 +103,7 @@ onMounted(async () => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Section :title="$t('emails.settings.location')" :padding="false">
|
||||
<Section :title="$t('emails.settings.location')">
|
||||
<template #header-buttons>
|
||||
<Button tool secondary :menu="taskLogsMenu" :disabled="!taskLogsMenu.length">{{ $t('main.action.logs') }}</Button>
|
||||
</template>
|
||||
|
||||
@@ -4,10 +4,6 @@ import { inject } from 'vue';
|
||||
|
||||
defineProps({
|
||||
title: String,
|
||||
padding: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
},
|
||||
titleBadge: {
|
||||
type: String,
|
||||
default: '',
|
||||
@@ -23,7 +19,7 @@ function onTitleBadge() {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="section" :class="{ 'section-extra-padding': padding }">
|
||||
<div class="section">
|
||||
<h2 class="section-header">
|
||||
<div>
|
||||
<slot name="header-title">{{ title }}</slot>
|
||||
@@ -86,11 +82,6 @@ function onTitleBadge() {
|
||||
padding-bottom: 25px;
|
||||
}
|
||||
|
||||
.section-extra-padding .section-body {
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
.section-header-title-badge {
|
||||
display: inline-block;
|
||||
font-size: 12px;
|
||||
|
||||
Reference in New Issue
Block a user