mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
breadcrumb bug fixes (#3348)
This commit is contained in:
committed by
Eugenio Romano
parent
70d93805d4
commit
b599e3a41a
@@ -32,6 +32,11 @@
|
||||
<adf-sites-dropdown (change)="onSiteChange($event)" [hideMyFiles]="false" [relations]="'members'">
|
||||
</adf-sites-dropdown>
|
||||
</div>
|
||||
|
||||
<!-- demonstrates breadcrumb use outside of the toolbar -->
|
||||
<adf-breadcrumb root="Personal Files" [target]="documentList" [folderNode]="documentList.folderNode">
|
||||
</adf-breadcrumb>
|
||||
|
||||
<div class="document-list-container" fxLayout="row" fxLayoutAlign="start stretch" fxLayoutGap="16px">
|
||||
<adf-upload-drag-area fxFlex="1 1 auto"
|
||||
[disabled]="disableDragArea"
|
||||
|
@@ -4,8 +4,10 @@
|
||||
tabindex="0"
|
||||
class="adf-breadcrumb-dropdown-trigger"
|
||||
(click)="open()">
|
||||
<mat-icon [class.isRoot]="!hasPreviousNodes()">folder</mat-icon>
|
||||
<mat-icon [class.isRoot]="!hasPreviousNodes()" class="adf-breadcrumb-dropdown-trigger-arrow">arrow_drop_down</mat-icon>
|
||||
<div class="adf-breadcrumb-dropdown-trigger-icon">
|
||||
<mat-icon [class.isRoot]="!hasPreviousNodes()">folder</mat-icon>
|
||||
<mat-icon [class.isRoot]="!hasPreviousNodes()" class="adf-breadcrumb-dropdown-trigger-arrow">arrow_drop_down</mat-icon>
|
||||
</div>
|
||||
</button>
|
||||
|
||||
<mat-select
|
||||
|
@@ -15,7 +15,6 @@
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.2px;
|
||||
color: mat-color($foreground, text, 0.54);
|
||||
width: 0;
|
||||
|
||||
&-container {
|
||||
margin: 0;
|
||||
@@ -52,11 +51,15 @@
|
||||
outline: none;
|
||||
}
|
||||
|
||||
&-icon {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
&-arrow {
|
||||
font-size: 17px;
|
||||
position: relative;
|
||||
left: -28px;
|
||||
top: -2px;
|
||||
position: absolute;
|
||||
left: 4px;
|
||||
top: 4px;
|
||||
color: white;
|
||||
z-index: 2;
|
||||
}
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
<button
|
||||
tabindex="0"
|
||||
class="adf-dropdown-breadcumb-trigger"
|
||||
class="adf-dropdown-breadcrumb-trigger"
|
||||
(click)="open()"
|
||||
data-automation-id="dropdown-breadcrumb-trigger">
|
||||
<mat-icon [class.isRoot]="!hasPreviousNodes()">folder</mat-icon>
|
||||
|
@@ -9,7 +9,7 @@
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&-dropdown-breadcumb-trigger {
|
||||
&-dropdown-breadcrumb-trigger {
|
||||
cursor: pointer;
|
||||
padding: 0;
|
||||
border: none;
|
||||
@@ -25,7 +25,7 @@
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
&-dropdown-breadcumb-trigger.isRoot {
|
||||
&-dropdown-breadcrumb-trigger.isRoot {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
|
@@ -64,7 +64,7 @@
|
||||
}
|
||||
|
||||
&-breadcrumb {
|
||||
.adf-dropdown-breadcumb-trigger {
|
||||
.adf-dropdown-breadcrumb-trigger {
|
||||
outline: none;
|
||||
.mat-icon {
|
||||
color: mat-color($foreground, base, 0.45);
|
||||
|
Reference in New Issue
Block a user