mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2109] Task Form - The form doesn't fit in the mobile screen (#2797)
* [ADF-2109] Task Form - The form doesn't fit in the mobile screen * Made form mobile compatible * Fixed issues arising due to the issue ADF-2094 * [ADF-2109] Task Form - The form doesn't fit in the mobile screen * Made adf form mobile compatible * Fixed issues arising due to the issue ADF-2094
This commit is contained in:
committed by
Maurizio Vitale
parent
23c912989a
commit
e66cb4035a
@@ -1,7 +1,11 @@
|
||||
@mixin adf-form-component-theme($theme) {
|
||||
|
||||
$config: mat-typography-config();
|
||||
|
||||
.adf {
|
||||
&-form-container {
|
||||
width: 576px !important;
|
||||
min-height: 814px !important;
|
||||
max-width: 100% !important;
|
||||
max-height: 100% !important;
|
||||
|
||||
& .mat-card {
|
||||
padding: 16px 24px;
|
||||
@@ -17,8 +21,8 @@
|
||||
}
|
||||
|
||||
& .mat-tab-label {
|
||||
font-size: 16px;
|
||||
line-height: 1.5;
|
||||
font-size: mat-font-size($config, subheading-2);
|
||||
line-height: mat-line-height($config, headline);
|
||||
letter-spacing: -0.4px;
|
||||
text-align: left;
|
||||
color: rgba(0, 0, 0, 0.54);
|
||||
@@ -35,10 +39,7 @@
|
||||
}
|
||||
|
||||
&-form-title {
|
||||
font-weight: 600;
|
||||
font-size: 20px;
|
||||
letter-spacing: -0.5px;
|
||||
line-height: 32px;
|
||||
font-size: mat-font-size($alfresco-typography, title);
|
||||
}
|
||||
|
||||
&-form-debug-container {
|
||||
@@ -61,7 +62,7 @@
|
||||
}
|
||||
|
||||
&-form-hide-button {
|
||||
display: none;
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
&-task-title {
|
||||
@@ -71,8 +72,8 @@
|
||||
&-label {
|
||||
width: 32px;
|
||||
height: 16px;
|
||||
font-size: 12px;
|
||||
line-height: 1.33;
|
||||
font-size: mat-font-size($config, caption);
|
||||
line-height: mat-line-height($config, headline);
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
}
|
||||
@@ -93,7 +94,7 @@
|
||||
width: 58px;
|
||||
height: 20px;
|
||||
opacity: 0.54;
|
||||
font-size: 14px;
|
||||
font-size: mat-font-size($config, body-2);
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
@@ -103,8 +104,10 @@ form-field {
|
||||
width: 100%;
|
||||
|
||||
.mat-input-element {
|
||||
font-size: 14px;
|
||||
font-size: mat-font-size($config, body-2);
|
||||
padding-top: 8px;
|
||||
line-height: normal;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -20,6 +20,7 @@
|
||||
@import '../toolbar/toolbar.component';
|
||||
@import '../userinfo/components/user-info.component';
|
||||
@import '../viewer/components/viewer.component';
|
||||
@import '../form/components/form.component';
|
||||
|
||||
@mixin adf-core-theme($theme) {
|
||||
@include adf-colors-theme($theme);
|
||||
@@ -41,6 +42,7 @@
|
||||
@include adf-toolbar-theme($theme);
|
||||
@include adf-userinfo-theme($theme);
|
||||
@include adf-viewer-theme($theme);
|
||||
@include adf-form-component-theme($theme)
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user