Skip to content

Commit 9816bcd

Browse files
core: frontend: App: Fix toolbar height change on disconnect
Use a constant toolbar height to prevent layout shift when the disconnection message appears. Closes bluerobotics#3737 Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
1 parent b64f29f commit 9816bcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/frontend/src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ export default Vue.extend({
539539
return wifi.current_network != null
540540
},
541541
toolbar_height(): number {
542-
return settings.is_pirate_mode && this.backend_offline ? 66 : 56
542+
return 56
543543
},
544544
full_page_requested(): boolean {
545545
return this.$router.currentRoute.query.full_page === 'true'

0 commit comments

Comments
 (0)