Skip to content

Commit 3af898f

Browse files
martinkaintasCedrikNikita
authored andcommitted
fix: place extension on center when open as tab
1 parent afaa492 commit 3af898f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/styles/global.scss

+5-3
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@
2323
}
2424

2525
html.is-extension {
26-
width: $extension-width;
27-
height: $extension-height;
28-
2926
// Fixes issue with extension not rendering properly
3027
// .tabs-inner & .ion-page classes are added by Ionic
3128
ion-tabs,
@@ -38,6 +35,11 @@ html.is-extension {
3835
body {
3936
position: unset;
4037
}
38+
39+
.app {
40+
width: $extension-width;
41+
height: $extension-height;
42+
}
4143
}
4244

4345
// When scanner is active we need to hide everything else

0 commit comments

Comments
 (0)