Fix padding & enable rule editor for documine

This commit is contained in:
Dan Percic 2023-08-11 16:18:28 +03:00
parent acadaab4f7
commit 5f825a967e
3 changed files with 4 additions and 3 deletions

View File

@ -98,7 +98,7 @@
</div>
</div>
<div class="half-flex-basis w-full pl-16">
<div class="half-flex-basis w-full pl-75">
<p class="heading download-includes">
{{ 'add-edit-clone-dossier-template.form.upload-settings.heading' | translate }}
</p>

View File

@ -53,6 +53,6 @@ redaction-select {
flex-basis: 50%;
}
.pl-16 {
.pl-75 {
padding: 0 0 0 75px;
}

View File

@ -96,7 +96,8 @@ export class AdminSideNavComponent implements OnInit {
{
screen: 'rules',
label: _('admin-side-nav.rule-editor'),
show: this.userPreferenceService.areDevFeaturesEnabled && this._permissionsService.has(Roles.rules.read),
show:
(this.userPreferenceService.areDevFeaturesEnabled || this.isDocumine) && this._permissionsService.has(Roles.rules.read),
},
{
screen: 'default-colors',