mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
fix(env-selector): Add DesktopDefaultOverlayPosition to all routes that display environment selector (#15171)
This changes makes sure the environment selector opens upwards on the Desktop (so that it doesn't get cut off)
This commit is contained in:
@@ -222,6 +222,9 @@ const routes: Routes = [
|
|||||||
path: "",
|
path: "",
|
||||||
component: EnvironmentSelectorComponent,
|
component: EnvironmentSelectorComponent,
|
||||||
outlet: "environment-selector",
|
outlet: "environment-selector",
|
||||||
|
data: {
|
||||||
|
overlayPosition: DesktopDefaultOverlayPosition,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@@ -242,6 +245,9 @@ const routes: Routes = [
|
|||||||
path: "",
|
path: "",
|
||||||
component: EnvironmentSelectorComponent,
|
component: EnvironmentSelectorComponent,
|
||||||
outlet: "environment-selector",
|
outlet: "environment-selector",
|
||||||
|
data: {
|
||||||
|
overlayPosition: DesktopDefaultOverlayPosition,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@@ -276,6 +282,9 @@ const routes: Routes = [
|
|||||||
path: "",
|
path: "",
|
||||||
component: EnvironmentSelectorComponent,
|
component: EnvironmentSelectorComponent,
|
||||||
outlet: "environment-selector",
|
outlet: "environment-selector",
|
||||||
|
data: {
|
||||||
|
overlayPosition: DesktopDefaultOverlayPosition,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user