mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 22:27:31 -04:00
Fixed breadcrumbs calculation and actions flow
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
dc8809e754
commit
7a9e65ceed
2 changed files with 6 additions and 1 deletions
|
|
@ -21,6 +21,11 @@
|
|||
.actions.creatable {
|
||||
position: relative;
|
||||
z-index: -30;
|
||||
display: flex;
|
||||
flex: 1 1;
|
||||
.button:not(:last-child) {
|
||||
margin-right: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
#trash {
|
||||
|
|
|
|||
|
|
@ -331,7 +331,7 @@
|
|||
|
||||
// Used for testing since this.$el.parent fails
|
||||
if (!this.availableWidth) {
|
||||
this.usedWidth = this.$el.parent().width() - (this.$el.parent().find('.button').length + 1) * 44;
|
||||
this.usedWidth = this.$el.parent().width() - this.$el.parent().find('.actions.creatable').width();
|
||||
} else {
|
||||
this.usedWidth = this.availableWidth;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue