-
Notifications
You must be signed in to change notification settings - Fork 1.6k
improved popup for mobile display; Fixes #699 #701
improved popup for mobile display; Fixes #699 #701
Conversation
@dannycoates could you review please ? |
assets/main.css
Outdated
border-bottom: 1px solid #d7d7db; | ||
border-left: 1px solid #fff; | ||
border-top: 1px solid #fff; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It shouldn't be necessary to redefine all these css attributes here. We should only set the ones that need to be overridden or added.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that's true, I'll make the required changes
assets/main.css
Outdated
border-top: 1px solid #fff; | ||
} | ||
|
||
#deletePopup { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this supposed to be only in this media block?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, Yes. Changing its left
properties help us to shift it (popup) to the center. However, I'll remove the extra statements
9545aa4
to
8711009
Compare
@dannycoates I've removed the extra statements, and squashed the commits. Please review. |
As suggested by @SoftVision-CiprianMuresan at #699, the popup for mobile view has been centered and thus now falls in the visible window. Here's a preview
Please review