fix(NcAppNavigationCaption): make name ellipsize - #5982
Conversation
Signed-off-by: Grigory Vodyanov <scratchx@gmx.com>
|
Any progress on this? |
it's merged |
|
Nextcloud 30.0.1 integrates the version 8.17.1. But the problem still exist. |
|
Works fine for me on Nextcloud 30 @M-Wiemann Could you check in the devtools what styles does it have and where the wrong style comes from? |
|
I also still have the problem with 30.0.1 |
|
@ShGKme /**
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
/**
* SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
/*
* Ensure proper alignment of the vue material icons
*/
.material-design-icon[data-v-574a55ae] {
display: flex;
align-self: center;
justify-self: center;
align-items: center;
justify-content: center;
}
.app-navigation-caption[data-v-574a55ae] {
display: flex;
justify-content: space-between;
}
.app-navigation-caption--heading[data-v-574a55ae] {
padding: var(--app-navigation-padding);
}
.app-navigation-caption--heading[data-v-574a55ae]:not(:first-child):not(:last-child) {
padding: 0 var(--app-navigation-padding);
}
.app-navigation-caption__name[data-v-574a55ae] {
font-weight: bold;
color: var(--color-main-text);
font-size: var(--default-font-size);
line-height: var(--default-clickable-area);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
box-shadow: none !important;
flex-shrink: 0;
padding: 0 calc(var(--default-grid-baseline, 4px) * 2) 0 calc(var(--default-grid-baseline, 4px) * 2);
margin-top: 0px;
margin-bottom: var(--default-grid-baseline);
}
.app-navigation-caption__actions[data-v-574a55ae] {
flex: 0 0 var(--default-clickable-area);
}
.app-navigation-caption[data-v-574a55ae]:not(:first-child) {
margin-top: calc(var(--default-clickable-area) / 2);
} |
|
Oh, I missed that is about Mail, not server...
This is a server version and dependency, not Mail. Mail v4.0.2 doesn't have upgraded |
☑️ Resolves
🖼️ Screenshots
I removed
padding-rightin order for the text to not ellipsize too early