mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
Add a project name tooltip.
This commit is contained in:
@@ -30,6 +30,10 @@ header.toolbar.toolbar-header.toolbar-with-labels(
|
||||
span.name(
|
||||
ng-dblclick="!permissions.admin || startRenaming()",
|
||||
ng-show="!state.renaming"
|
||||
tooltip="{{ project.name }}",
|
||||
tooltip-class="project-name-tooltip"
|
||||
tooltip-placement="bottom",
|
||||
tooltip-append-to-body="true",
|
||||
) {{ project.name }}
|
||||
|
||||
input.form-control(
|
||||
|
||||
@@ -10,6 +10,12 @@
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.project-name-tooltip .tooltip-inner {
|
||||
max-width: 80vw;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.project-invite-invalid {
|
||||
.actions {
|
||||
padding-top: 15px;
|
||||
|
||||
Reference in New Issue
Block a user