mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-27 04:03:00 +02:00
Allow selecting of version numbers for copy-pasting in issues (#9078)
* Allow selecting of version numbers for copy-pasting in issues * Simplify user-select override Expands selectable area to labels of versions
This commit is contained in:
parent
6c05aacbba
commit
7d5575882e
@ -424,6 +424,10 @@ img,
|
|||||||
.modal-title,
|
.modal-title,
|
||||||
.overlay-container {
|
.overlay-container {
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
|
||||||
|
&.user-select {
|
||||||
|
user-select: auto;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
app-about .modal-body > *,
|
app-about .modal-body > *,
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<div bitDialogTitle>Bitwarden</div>
|
<div bitDialogTitle>Bitwarden</div>
|
||||||
<div bitDialogContent>
|
<div bitDialogContent>
|
||||||
<p>© Bitwarden Inc. 2015-{{ year }}</p>
|
<p>© Bitwarden Inc. 2015-{{ year }}</p>
|
||||||
<p>{{ "version" | i18n }}: {{ version$ | async }}</p>
|
<p class="user-select">{{ "version" | i18n }}: {{ version$ | async }}</p>
|
||||||
<ng-container *ngIf="data$ | async as data">
|
<ng-container *ngIf="data$ | async as data">
|
||||||
<p *ngIf="data.isCloud">
|
<p *ngIf="data.isCloud">
|
||||||
{{ "serverVersion" | i18n }}: {{ data.serverConfig?.version }}
|
{{ "serverVersion" | i18n }}: {{ data.serverConfig?.version }}
|
||||||
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
<ng-container *ngIf="!data.isCloud">
|
<ng-container *ngIf="!data.isCloud">
|
||||||
<ng-container *ngIf="data.serverConfig.server">
|
<ng-container *ngIf="data.serverConfig.server">
|
||||||
<p>
|
<p class="user-select">
|
||||||
{{ "serverVersion" | i18n }} <small>({{ "thirdParty" | i18n }})</small>:
|
{{ "serverVersion" | i18n }} <small>({{ "thirdParty" | i18n }})</small>:
|
||||||
{{ data.serverConfig?.version }}
|
{{ data.serverConfig?.version }}
|
||||||
<span *ngIf="!data.serverConfig.isValid()">
|
<span *ngIf="!data.serverConfig.isValid()">
|
||||||
@ -28,7 +28,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|
||||||
<p *ngIf="!data.serverConfig.server">
|
<p class="user-select" *ngIf="!data.serverConfig.server">
|
||||||
{{ "serverVersion" | i18n }} <small>({{ "selfHostedServer" | i18n }})</small>:
|
{{ "serverVersion" | i18n }} <small>({{ "selfHostedServer" | i18n }})</small>:
|
||||||
{{ data.serverConfig?.version }}
|
{{ data.serverConfig?.version }}
|
||||||
<span *ngIf="!data.serverConfig.isValid()">
|
<span *ngIf="!data.serverConfig.isValid()">
|
||||||
|
Loading…
Reference in New Issue
Block a user