mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 02:05:41 +01:00
Modify the tooltip to increase and display the full content
Signed-off-by: Cheng <1309173081@qq.com>
This commit is contained in:
parent
34e66a709e
commit
014a81da68
@ -1,7 +1,7 @@
|
||||
<clr-modal [(clrModalOpen)]="createProjectOpened" [clrModalStaticBackdrop]="staticBackdrop" [clrModalClosable]="closable">
|
||||
<h3 class="modal-title">{{'PROJECT.NEW_PROJECT' | translate}}</h3>
|
||||
<inline-alert class="modal-title"></inline-alert>
|
||||
<div class="modal-body" style="height: 15.3em; overflow-y: hidden;">
|
||||
<div class="modal-body tooltip-style">
|
||||
<form #projectForm="ngForm">
|
||||
<section class="form-block">
|
||||
<div class="form-group" style="padding-left: 135px;">
|
||||
@ -27,9 +27,9 @@
|
||||
<input type="checkbox" id="create_project_public" [(ngModel)]="project.metadata.public" name="public">
|
||||
<label for="create_project_public"></label>
|
||||
<span class="access-level-label">{{ 'PROJECT.PUBLIC' | translate}}</span>
|
||||
<a href="javascript:void(0)" role="tooltip" aria-haspopup="true" class="tooltip tooltip-md tooltip-bottom-right" style="top:-8px; left:-8px;">
|
||||
<a href="javascript:void(0)" role="tooltip" aria-haspopup="true" class="tooltip tooltip-md tooltip-right" style="top:-8px; left:-8px;">
|
||||
<clr-icon shape="info-circle" class="info-tips-icon" size="24"></clr-icon>
|
||||
<span class="tooltip-content tooltip-right" style="margin-left: 5px;">{{'PROJECT.INLINE_HELP_PUBLIC' | translate }}</span>
|
||||
<span class="tooltip-content" style="margin-left: 5px;">{{'PROJECT.INLINE_HELP_PUBLIC' | translate }}</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -10,4 +10,8 @@
|
||||
margin-right: 12px;
|
||||
top: -6px;
|
||||
position: relative;
|
||||
}
|
||||
.tooltip-style {
|
||||
height: 15.3em;
|
||||
overflow-y: hidden;
|
||||
}
|
Loading…
Reference in New Issue
Block a user