remove extra-padding, ununsed

This commit is contained in:
Girish Ramakrishnan
2025-09-25 12:04:12 +02:00
parent 5bdfe23435
commit fc83306d72
10 changed files with 11 additions and 20 deletions
+1 -1
View File
@@ -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>
+1 -1
View File
@@ -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>
+1 -10
View File
@@ -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;