cozy / cozy-contacts-v2

Contact books manager for Cozy
http://cozy.io
GNU Affero General Public License v3.0
20 stars 20 forks source link

"Are You Sure ..." dialog unusable under 50rem screen width #283

Open jaller94 opened 8 years ago

jaller94 commented 8 years ago

Create a new contact. While doing so Cancel the creation. A dialog should appear: "Are you sure you want to leave?" If your screen width is lower 50rem it's unlikely the text and buttons of this dialog are on screen.

cozy-contacts-are-you-sure

Expected behaviour

The dialog should be within the visible area.

Code in question

@media(max-width:50rem) {
    .dialogs [role=dialog] [role=contentinfo],[role=alertdialog] [role=contentinfo] {
        [...]
        height:90vh
    }
    [...]
}

/apps/contacts/stylesheets/app.css:1466

This height declaration affects other dialogs in the application too!

Cozy platform

Data System: 2.5.12

Proxy: 2.5.14

Home: 2.5.19

Controller: 2.5.10

Contacts App: 2.1.11

Browser

Browser: Firefox 45.1.1

clochix commented 8 years ago

Thanks a lot for this very detailed bug report @jaller94 !

kazord commented 8 years ago

same probleme with delete contacts ([keep it] / [delete]) confirmation