mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
AAE-35310 Displaying different text fields on an eform doesn't align vertically or horizontally (#10979)
* AAE-35310 fixing vertical or horizontal alignment issues * AAE-35310 refactoring code and removed manual scss with flexboxes
This commit is contained in:
committed by
GitHub
parent
6dafcb4447
commit
d776c7c77d
@@ -13,7 +13,7 @@
|
||||
></label
|
||||
>
|
||||
</div>
|
||||
<div>
|
||||
<div class="adf-date-widget-container">
|
||||
<mat-form-field class="adf-date-widget adf-form-field-input" [class.adf-left-label-input-datepicker]="field.leftLabels">
|
||||
@if ( (field.name || field?.required) && !field.leftLabels) {
|
||||
<mat-label class="adf-label" [attr.for]="field.id">
|
||||
|
@@ -11,6 +11,12 @@
|
||||
.adf-label {
|
||||
top: 20px;
|
||||
}
|
||||
|
||||
&-container {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
&-left-label-input-datepicker {
|
||||
|
@@ -1,6 +1,4 @@
|
||||
.adf-display-rich-text-widget {
|
||||
padding: 10px;
|
||||
|
||||
pre {
|
||||
min-height: 100px;
|
||||
font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
|
||||
|
@@ -9,7 +9,6 @@
|
||||
}
|
||||
|
||||
&-radio-button-container {
|
||||
margin-bottom: 15px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
@@ -23,7 +22,7 @@
|
||||
&-radio-button-container-horizontal {
|
||||
margin-bottom: 15px;
|
||||
display: flex;
|
||||
flex-flow: row wrap;
|
||||
flex-flow: column wrap;
|
||||
align-items: flex-start;
|
||||
justify-content: flex-start;
|
||||
|
||||
|
Reference in New Issue
Block a user