mirror of
https://github.com/bitwarden/browser
synced 2026-02-11 14:04:03 +00:00
Ugly hacks
This commit is contained in:
BIN
apps/desktop/resources/Frame2101.png
Normal file
BIN
apps/desktop/resources/Frame2101.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 29 KiB |
36
apps/desktop/resources/Frame2101.svg
Normal file
36
apps/desktop/resources/Frame2101.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 105 KiB |
@@ -9,13 +9,15 @@ export type BrowserSyncVerificationDialogParams = {
|
||||
@Component({
|
||||
standalone: true,
|
||||
template: `
|
||||
<img
|
||||
src="../resources/passkeys.png"
|
||||
class="mb-4 logo"
|
||||
alt="Bitwarden"
|
||||
width="660"
|
||||
height="580"
|
||||
/>
|
||||
<div style="background:white; display:flex; justify-content: center; align-items: center;">
|
||||
<img
|
||||
src="../resources/Frame2101.svg"
|
||||
class="mb-4 logo"
|
||||
alt="Bitwarden"
|
||||
width="440"
|
||||
height="400"
|
||||
/>
|
||||
</div>
|
||||
`,
|
||||
imports: [JslibModule],
|
||||
})
|
||||
|
||||
@@ -212,10 +212,10 @@ export class TrayMain {
|
||||
const existingWin = this.windowMain.win;
|
||||
|
||||
existingWin.setBounds({
|
||||
width: 400,
|
||||
height: 600,
|
||||
width: 500,
|
||||
height: 400,
|
||||
});
|
||||
existingWin.setSize(400, 600, true);
|
||||
existingWin.setSize(450, 450, true);
|
||||
existingWin.setWindowButtonVisibility(false);
|
||||
existingWin.resizable = false;
|
||||
await existingWin.loadURL(
|
||||
|
||||
@@ -182,8 +182,8 @@ export class WindowMain {
|
||||
this.win = new BrowserWindow({
|
||||
width: this.windowStates[mainWindowSizeKey].width,
|
||||
height: this.windowStates[mainWindowSizeKey].height,
|
||||
minWidth: 680,
|
||||
minHeight: 500,
|
||||
minWidth: 400,
|
||||
minHeight: 400,
|
||||
x: this.windowStates[mainWindowSizeKey].x,
|
||||
y: this.windowStates[mainWindowSizeKey].y,
|
||||
title: app.name,
|
||||
@@ -205,8 +205,8 @@ export class WindowMain {
|
||||
} else {
|
||||
//
|
||||
this.win = new BrowserWindow({
|
||||
width: 400,
|
||||
height: 600,
|
||||
width: 450,
|
||||
height: 450,
|
||||
resizable: false,
|
||||
icon: null,
|
||||
center: true,
|
||||
|
||||
Reference in New Issue
Block a user