Skip to content
This repository has been archived by the owner on May 22, 2021. It is now read-only.

improved popup for mobile display; Fixes #699 #701

Merged
merged 1 commit into from
Jan 12, 2018

Conversation

shikhar-scs
Copy link
Contributor

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

popup

Please review

@shikhar-scs
Copy link
Contributor Author

shikhar-scs commented Jan 11, 2018

@dannycoates could you review please ?

assets/main.css Outdated
border-bottom: 1px solid #d7d7db;
border-left: 1px solid #fff;
border-top: 1px solid #fff;
}
Copy link
Contributor

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.

Copy link
Contributor Author

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 {
Copy link
Contributor

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?

Copy link
Contributor Author

@shikhar-scs shikhar-scs Jan 12, 2018

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

@shikhar-scs shikhar-scs force-pushed the delete-popup-mobile-view branch from 9545aa4 to 8711009 Compare January 12, 2018 02:47
@shikhar-scs
Copy link
Contributor Author

shikhar-scs commented Jan 12, 2018

@dannycoates I've removed the extra statements, and squashed the commits. Please review.

@dannycoates dannycoates merged commit 76175d6 into mozilla:master Jan 12, 2018
@shikhar-scs shikhar-scs deleted the delete-popup-mobile-view branch January 12, 2018 05:46
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants