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

The X of a dialog does not close it on small screens #282

Open jaller94 opened 8 years ago

jaller94 commented 8 years ago

On the following screenshot every grey area does close this dialog except for the spot of the white X where uses would expect the action.

cozy-contacts-close

Expected behaviour

Let this dialog be closable by clicking on the grey area as well as the white X.

Code in question

@media(max-width:60rem) {
    [role=dialog] [role=contentinfo]:before {
        right:1em;
    }
}

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

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