RED-4650: CSS fixes
This commit is contained in:
parent
6efd5478ad
commit
94ea923383
@ -4,7 +4,7 @@ import { RouterModule, Routes } from '@angular/router';
|
||||
import { SharedModule } from '@shared/shared.module';
|
||||
import { DictionaryScreenComponent } from './screens/dictionary/dictionary-screen.component';
|
||||
import { PendingChangesGuard } from '@guards/can-deactivate.guard';
|
||||
import { InfoComponent } from './screens/info/info.component';
|
||||
import { EntityInfoComponent } from './screens/entity-info/entity-info.component';
|
||||
import { MonacoEditorModule } from '@materia-ui/ngx-monaco-editor';
|
||||
import { SharedAdminModule } from '../../shared/shared-admin.module';
|
||||
|
||||
@ -12,7 +12,7 @@ const routes: Routes = [
|
||||
{ path: '', redirectTo: 'info', pathMatch: 'full' },
|
||||
{
|
||||
path: 'info',
|
||||
component: InfoComponent,
|
||||
component: EntityInfoComponent,
|
||||
canDeactivate: [PendingChangesGuard],
|
||||
},
|
||||
{
|
||||
@ -33,7 +33,7 @@ const routes: Routes = [
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
declarations: [DictionaryScreenComponent, InfoComponent],
|
||||
declarations: [DictionaryScreenComponent, EntityInfoComponent],
|
||||
imports: [RouterModule.forChild(routes), SharedAdminModule, CommonModule, SharedModule, MonacoEditorModule],
|
||||
})
|
||||
export class EntitiesModule {}
|
||||
|
||||
@ -9,12 +9,12 @@ import { IqserEventTarget } from '@iqser/common-ui';
|
||||
import { Observable } from 'rxjs';
|
||||
|
||||
@Component({
|
||||
selector: 'redaction-info',
|
||||
templateUrl: './info.component.html',
|
||||
styleUrls: ['./info.component.scss'],
|
||||
selector: 'redaction-entity-info',
|
||||
templateUrl: './entity-info.component.html',
|
||||
styleUrls: ['./entity-info.component.scss'],
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
})
|
||||
export class InfoComponent {
|
||||
export class EntityInfoComponent {
|
||||
readonly currentUser = getCurrentUser();
|
||||
readonly entity$: Observable<Dictionary>;
|
||||
readonly dossierTemplateId: string;
|
||||
@ -1,7 +1,7 @@
|
||||
@use 'common-mixins';
|
||||
|
||||
:host {
|
||||
flex-direction: row;
|
||||
flex-direction: row !important;
|
||||
}
|
||||
|
||||
.content-container,
|
||||
|
||||
@ -20,6 +20,7 @@
|
||||
? ('edit-dossier-dialog.dictionary.edit' | translate)
|
||||
: ('edit-dossier-dialog.dictionary.info' | translate)
|
||||
"
|
||||
class="mt-20"
|
||||
></iqser-circle-button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit d3e45f5c9868f5ada0af084d93b42f9e92d68c5e
|
||||
Subproject commit e07149db5417a9571723349e45f5b893a53c9801
|
||||
Loading…
x
Reference in New Issue
Block a user