mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
[ACS-10886] Buttons under collapsed/expanded menu are coded as regions instead of list of items (#5005)
This commit is contained in:
+4
-4
@@ -38,8 +38,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</mat-panel-title>
|
</mat-panel-title>
|
||||||
</mat-expansion-panel-header>
|
</mat-expansion-panel-header>
|
||||||
<div class="aca-expansion-panel-body">
|
<ul class="aca-expansion-panel-body" [attr.aria-label]="item.title | translate">
|
||||||
<div *ngFor="let child of item.children; trackBy: trackById" class="aca-expansion-panel-item">
|
<li *ngFor="let child of item.children; trackBy: trackById" class="aca-expansion-panel-item">
|
||||||
<button
|
<button
|
||||||
acaActiveLink="aca-action-button--active"
|
acaActiveLink="aca-action-button--active"
|
||||||
[action]="child"
|
[action]="child"
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
<adf-icon *ngIf="child.icon" [value]="child.icon" />
|
<adf-icon *ngIf="child.icon" [value]="child.icon" />
|
||||||
<span class="aca-action-button__label">{{ child.title | translate }}</span>
|
<span class="aca-action-button__label">{{ child.title | translate }}</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</li>
|
||||||
</div>
|
</ul>
|
||||||
</mat-expansion-panel>
|
</mat-expansion-panel>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|||||||
@@ -46,6 +46,10 @@
|
|||||||
.aca-sidenav__section {
|
.aca-sidenav__section {
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
|
||||||
|
#{mat.$mat-expansion-panel-body} {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.aca-expansion-panel {
|
.aca-expansion-panel {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background-color: unset;
|
background-color: unset;
|
||||||
@@ -103,8 +107,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&-body {
|
&-body {
|
||||||
margin: 0 -24px 16px;
|
|
||||||
font-size: var(--theme-body-1-font-size);
|
font-size: var(--theme-body-1-font-size);
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
|
||||||
button {
|
button {
|
||||||
line-height: 32px;
|
line-height: 32px;
|
||||||
@@ -137,6 +142,7 @@
|
|||||||
&__item:has(span) {
|
&__item:has(span) {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
margin-bottom: 32px;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
pointer-events: auto;
|
pointer-events: auto;
|
||||||
|
|||||||
@@ -99,3 +99,4 @@ $mat-select-disabled: '.mat-mdc-select-disabled';
|
|||||||
$mat-select-value: '.mat-mdc-select-value';
|
$mat-select-value: '.mat-mdc-select-value';
|
||||||
$mat-checkbox-native-control: '.mdc-checkbox__native-control';
|
$mat-checkbox-native-control: '.mdc-checkbox__native-control';
|
||||||
$mat-card-header: '.mat-mdc-card-header';
|
$mat-card-header: '.mat-mdc-card-header';
|
||||||
|
$mat-expansion-panel-body: '.mat-expansion-panel-body';
|
||||||
|
|||||||
Reference in New Issue
Block a user