mirror of https://github.com/portainer/portainer
fix(styles): improve styling of form-section-title [EE-5366] (#10250)
parent
c8a1f0fa77
commit
b40b305e63
|
@ -84,16 +84,20 @@ body,
|
||||||
|
|
||||||
.form-section-title {
|
.form-section-title {
|
||||||
@apply text-gray-9;
|
@apply text-gray-9;
|
||||||
@apply th-dark:text-gray-5;
|
@apply th-dark:text-white;
|
||||||
@apply th-highcontrast:text-white;
|
@apply th-highcontrast:text-white;
|
||||||
|
|
||||||
margin-top: 5px;
|
margin-top: 20px;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.form-section-title:first-child {
|
||||||
|
margin-top: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
.form-horizontal .control-label.text-left,
|
.form-horizontal .control-label.text-left,
|
||||||
.form-row .control-label.text-left {
|
.form-row .control-label.text-left {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<rd-widget>
|
<rd-widget>
|
||||||
<rd-widget-body>
|
<rd-widget-body>
|
||||||
<form class="form-horizontal" name="$ctrl.form">
|
<form class="form-horizontal" name="$ctrl.form">
|
||||||
<div class="col-sm-12 form-section-title"> Host and Filesystem </div>
|
<div class="col-sm-12 form-section-title"> Host and filesystem </div>
|
||||||
<div ng-if="!$ctrl.isAgent" class="form-group">
|
<div ng-if="!$ctrl.isAgent" class="form-group">
|
||||||
<span class="col-sm-12 text-muted small vertical-center">
|
<span class="col-sm-12 text-muted small vertical-center">
|
||||||
<pr-icon icon="'info'" mode="'primary'" class-name="'space-right'"></pr-icon>
|
<pr-icon icon="'info'" mode="'primary'" class-name="'space-right'"></pr-icon>
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- auto update window -->
|
<!-- auto update window -->
|
||||||
<div class="col-sm-12 form-section-title"> Change Window Setting </div>
|
<div class="col-sm-12 form-section-title"> Change window setting </div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="col-sm-12">
|
<div class="col-sm-12">
|
||||||
|
@ -57,7 +57,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- security -->
|
<!-- security -->
|
||||||
<div class="col-sm-12 form-section-title"> Docker Security Settings </div>
|
<div class="col-sm-12 form-section-title"> Docker security settings </div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="col-sm-12">
|
<div class="col-sm-12">
|
||||||
<por-switch-field
|
<por-switch-field
|
||||||
|
@ -150,7 +150,7 @@
|
||||||
<!-- other -->
|
<!-- other -->
|
||||||
<div class="col-sm-12 form-section-title"> Other </div>
|
<div class="col-sm-12 form-section-title"> Other </div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="col-sm-12 pb-3">
|
<div class="col-sm-12">
|
||||||
<gpus-insights></gpus-insights>
|
<gpus-insights></gpus-insights>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-12">
|
<div class="col-sm-12">
|
||||||
|
|
|
@ -33,7 +33,7 @@ export function FormSectionTitle({
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={clsx(
|
className={clsx(
|
||||||
'col-sm-12 mb-2 mt-1 pl-0 font-medium',
|
'col-sm-12 mb-2 mt-4 pl-0 font-medium',
|
||||||
tailwindTitleSize[titleSize]
|
tailwindTitleSize[titleSize]
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue