Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed the layout styling issue of the left list on the setting/define. #2134

Merged
merged 1 commit into from
Jun 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions web-app/src/app/routes/setting/define/define.component.html
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,15 @@
>
<i nz-icon nzType="eye" nzTheme="outline"></i>
</button>
<button nz-button nzSize="small" routerLink="/setting/define" [queryParams]="{ app: app.value }">
<span style="margin-left: 6px">
{{ app.label }}
</span>
<button
nz-button
nzSize="small"
routerLink="/setting/define"
[queryParams]="{ app: app.value }"
class="label"
[title]="app.label"
>
{{ app.label }}
</button>
</li>
</ul>
Expand Down
13 changes: 13 additions & 0 deletions web-app/src/app/routes/setting/define/define.component.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,18 @@
:host ::ng-deep {
.ant-menu-inline.ant-menu-root .ant-menu-item > .ant-menu-title-content, .ant-menu-inline.ant-menu-root .ant-menu-submenu-title > .ant-menu-title-content {
overflow: unset;
display: flex;
:first-child {
flex-shrink: 0;
}
.label {
max-width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
span {
display: unset;
}
}
}
}
Loading