mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Add a project name tooltip.
This commit is contained in:
parent
42009093ef
commit
5b8c36dfc0
2 changed files with 10 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue