mirror of
https://github.com/router-for-me/Cli-Proxy-API-Management-Center.git
synced 2026-02-02 19:00:49 +08:00
fix(settings): align log size and routing update controls
This commit is contained in:
@@ -122,6 +122,33 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.retryRowAligned {
|
||||||
|
align-items: flex-start;
|
||||||
|
|
||||||
|
.retryButton {
|
||||||
|
margin-top: calc(1.5em + #{$spacing-xs});
|
||||||
|
}
|
||||||
|
|
||||||
|
@include mobile {
|
||||||
|
align-items: stretch;
|
||||||
|
|
||||||
|
.retryButton {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.retryRowInputGrow {
|
||||||
|
:global(.form-group) {
|
||||||
|
flex: 1 1 0;
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.retryInput {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.retryInput {
|
.retryInput {
|
||||||
width: 140px;
|
width: 140px;
|
||||||
|
|
||||||
|
|||||||
@@ -371,7 +371,7 @@ export function SettingsPage() {
|
|||||||
</Card>
|
</Card>
|
||||||
|
|
||||||
<Card title={t('basic_settings.logs_max_total_size_title')}>
|
<Card title={t('basic_settings.logs_max_total_size_title')}>
|
||||||
<div className={styles.retryRow}>
|
<div className={`${styles.retryRow} ${styles.retryRowAligned} ${styles.retryRowInputGrow}`}>
|
||||||
<Input
|
<Input
|
||||||
label={t('basic_settings.logs_max_total_size_label')}
|
label={t('basic_settings.logs_max_total_size_label')}
|
||||||
hint={t('basic_settings.logs_max_total_size_hint')}
|
hint={t('basic_settings.logs_max_total_size_hint')}
|
||||||
@@ -396,7 +396,7 @@ export function SettingsPage() {
|
|||||||
</Card>
|
</Card>
|
||||||
|
|
||||||
<Card title={t('basic_settings.routing_title')}>
|
<Card title={t('basic_settings.routing_title')}>
|
||||||
<div className={styles.retryRow}>
|
<div className={`${styles.retryRow} ${styles.retryRowAligned} ${styles.retryRowInputGrow}`}>
|
||||||
<div className="form-group">
|
<div className="form-group">
|
||||||
<label>{t('basic_settings.routing_strategy_label')}</label>
|
<label>{t('basic_settings.routing_strategy_label')}</label>
|
||||||
<select
|
<select
|
||||||
|
|||||||
Reference in New Issue
Block a user