Duet3D / DuetWebControl

A completely new web interface for the Duet electronics
GNU General Public License v3.0
410 stars 230 forks source link

Update App.vue #362

Closed BruceRoyce closed 3 years ago

BruceRoyce commented 3 years ago

In case of having many notifications/toasts popping up on screen, the "Emergency Stop" button gets covered by them which makes it impossible to reach, especially when too many things are going wrong. However, for safety reasons this button should be always accessible quickly.

The fastest and easiest interim way to fix this (at least temporarily) is to increase the button z-index so it can stay on the top of everything else. This is added in the App as a scoped CSS class and is applied to the Emergency Button, until a better solution

chrishamm commented 3 years ago

I am sorry but I will not merge this PR because it will overlay the toolbar buttons on the file edit and possibly other dialogs (z-index: 202). A full rework of the notification system will take longer but it will be the better solution.