Skip to content

Commit

Permalink
Hide Plus button if disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksei-nmc committed Apr 17, 2024
1 parent 0bfb1d5 commit 7c7151c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions css/components/ncbreadcrumb.scss
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@
display: none;
}

.upload-picker.files-list__header-upload-button {
// 'Add new file/folder' button inside breadcrumb
// 'Add new file/folder' button inside breadcrumb
.files-list__header-upload-button {
button {
all: unset;
display: flex;
Expand Down Expand Up @@ -106,6 +106,11 @@
display: none;
}
}

// Hide if disabled
&--disabled {
display: none;
}
}
}

Expand Down

0 comments on commit 7c7151c

Please sign in to comment.