mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-01 14:41:32 +00:00
[ACS-10145] Fix truncated text in details info drawer (#11209)
This commit is contained in:
@@ -69,6 +69,7 @@
|
|||||||
[attr.title]="'CORE.METADATA.ACTIONS.EDIT' | translate"
|
[attr.title]="'CORE.METADATA.ACTIONS.EDIT' | translate"
|
||||||
[attr.data-automation-id]="'datepickertoggle-' + property.key"
|
[attr.data-automation-id]="'datepickertoggle-' + property.key"
|
||||||
[for]="datetimePicker"
|
[for]="datetimePicker"
|
||||||
|
class="adf-dateitem-picker-toggle"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<mat-datetimepicker
|
<mat-datetimepicker
|
||||||
|
@@ -1,6 +1,36 @@
|
|||||||
@use '../../../styles/mat-selectors' as ms;
|
@use '../../../styles/mat-selectors' as ms;
|
||||||
|
|
||||||
.adf-card-view-dateitem {
|
.adf-card-view-dateitem {
|
||||||
|
.adf-dateitem-editable {
|
||||||
|
cursor: pointer;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
&-controls {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
|
||||||
|
#{ms.$mat-icon} {
|
||||||
|
opacity: 0.5;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
mat-datetimepicker-toggle {
|
||||||
|
transform: scale(0.8);
|
||||||
|
}
|
||||||
|
|
||||||
|
.adf-datepicker-span-button {
|
||||||
|
flex: 1 0 auto;
|
||||||
|
font-size: 14px;
|
||||||
|
top: 10px;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.adf-property-value {
|
.adf-property-value {
|
||||||
padding-top: 6px;
|
padding-top: 6px;
|
||||||
padding-bottom: 6px;
|
padding-bottom: 6px;
|
||||||
@@ -14,6 +44,21 @@
|
|||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
border-bottom: inherit;
|
border-bottom: inherit;
|
||||||
margin-bottom: 18px;
|
margin-bottom: 18px;
|
||||||
|
|
||||||
|
&:not(.adf-property-readonly-value) {
|
||||||
|
margin-top: 35px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.adf-date-reset-icon {
|
||||||
|
top: 10px;
|
||||||
|
position: relative;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.adf-dateitem-picker-toggle {
|
||||||
|
top: 10px;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.adf-property-readonly-value {
|
&.adf-property-readonly-value {
|
||||||
@@ -37,37 +82,4 @@
|
|||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.adf-dateitem-editable {
|
|
||||||
cursor: pointer;
|
|
||||||
width: 100%;
|
|
||||||
|
|
||||||
/* stylelint-disable-next-line no-descending-specificity */
|
|
||||||
&-controls {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: space-between;
|
|
||||||
|
|
||||||
#{ms.$mat-icon} {
|
|
||||||
opacity: 0.5;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
mat-datetimepicker-toggle {
|
|
||||||
transform: scale(0.8);
|
|
||||||
}
|
|
||||||
|
|
||||||
.adf-datepicker-span-button {
|
|
||||||
flex: 1 0 auto;
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.adf-date-reset-icon {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@@ -9,7 +9,8 @@
|
|||||||
color: var(--adf-metadata-property-panel-text-color);
|
color: var(--adf-metadata-property-panel-text-color);
|
||||||
display: flex;
|
display: flex;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
|
margin-bottom: 4px;
|
||||||
|
|
||||||
&.adf-property-readonly-value {
|
&.adf-property-readonly-value {
|
||||||
color: var(--adf-metadata-property-panel-label-color);
|
color: var(--adf-metadata-property-panel-label-color);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user