refactor(SettingsPage): adjust spacing in section layouts for improved visual consistency
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 1m57s
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 1m57s
This commit is contained in:
@@ -233,7 +233,7 @@ export default function SettingsPage() {
|
||||
// Заголовок секции без вложенной карточки (контент в общем card-body)
|
||||
function SectionHeading({ title, icon: Icon }) {
|
||||
return (
|
||||
<h2 className="h3 mb-4 d-flex align-items-center">
|
||||
<h2 className="h3 mb-3 d-flex align-items-center">
|
||||
{Icon && (
|
||||
<span className="me-2 d-flex align-items-center text-muted">
|
||||
<Icon size={22} />
|
||||
@@ -349,7 +349,7 @@ export default function SettingsPage() {
|
||||
{activeSection === 'live-doh' && (
|
||||
<>
|
||||
<SectionHeading title="BGP Live и DNS (DoH)" icon={IconPlugConnected} />
|
||||
<div className="row g-3">
|
||||
<div className="row g-2">
|
||||
<div className="col-12">
|
||||
<FormField
|
||||
label="WebSocket URL (BGP Live)"
|
||||
@@ -383,7 +383,7 @@ export default function SettingsPage() {
|
||||
{activeSection === 'network-as' && (
|
||||
<>
|
||||
<SectionHeading title="Сеть и AS" icon={IconNetwork} />
|
||||
<div className="row g-3">
|
||||
<div className="row g-2">
|
||||
<div className="col-md-6">
|
||||
<FormField
|
||||
label="Базовая AS"
|
||||
@@ -403,7 +403,7 @@ export default function SettingsPage() {
|
||||
{activeSection === 'ping' && (
|
||||
<>
|
||||
<SectionHeading title="Пинг через MikroTik" icon={IconCloud} />
|
||||
<div className="row g-3">
|
||||
<div className="row g-2">
|
||||
<div className="col-md-6">
|
||||
<FormField
|
||||
label="Домен для пинга"
|
||||
@@ -468,7 +468,7 @@ export default function SettingsPage() {
|
||||
/>
|
||||
</div>
|
||||
{pingServicesSource === 'router' && (
|
||||
<div className="row g-3">
|
||||
<div className="row g-2">
|
||||
<div className="col-md-6">
|
||||
<label className="form-label">Домашний роутер</label>
|
||||
<div className={saving ? 'opacity-75 pe-none' : ''}>
|
||||
@@ -508,7 +508,7 @@ export default function SettingsPage() {
|
||||
{activeSection === 'ptr-zone' && (
|
||||
<>
|
||||
<SectionHeading title="Настройка PTR зоны" icon={IconWorld} />
|
||||
<div className="row g-3">
|
||||
<div className="row g-2">
|
||||
<div className="col-md-6">
|
||||
<FormField
|
||||
label="Заменить в DNS домене"
|
||||
|
||||
Reference in New Issue
Block a user