Merge pull request #9921 from jwangyangls/fix-select-words

Fix version info in about dialog can not select and copy
This commit is contained in:
jwangyangls 2019-11-20 10:02:47 +08:00 committed by GitHub
commit cd8a8105e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 6 deletions

View File

@ -351,11 +351,6 @@ const harborRoutes: Routes = [
component: ConfigurationComponent, component: ConfigurationComponent,
canActivate: [SystemAdminGuard] canActivate: [SystemAdminGuard]
}, },
{
path: 'vulnerability',
component: VulnerabilityPageComponent,
canActivate: [SystemAdminGuard]
},
{ {
path: 'gc', path: 'gc',
component: GcPageComponent, component: GcPageComponent,

View File

@ -3,7 +3,7 @@
<div class="harbor-logo-black"> <div class="harbor-logo-black">
<img [src]="'images/harbor-logo.svg'" class="harbor-icon"> <img [src]="'images/harbor-logo.svg'" class="harbor-icon">
</div> </div>
<div class="content"> <div class="content" tabindex="1">
<div>{{customName?.name? customName?.name : ('APP_TITLE.HARBOR' | translate)}}</div> <div>{{customName?.name? customName?.name : ('APP_TITLE.HARBOR' | translate)}}</div>
<div> <div>
<span class="p5 about-version">{{'ABOUT.VERSION' | translate}} {{version}}</span> <span class="p5 about-version">{{'ABOUT.VERSION' | translate}} {{version}}</span>

View File

@ -15,6 +15,7 @@
.content { .content {
margin:0 10px 10px 10px; margin:0 10px 10px 10px;
outline: none;
} }
.harbor-icon { .harbor-icon {