Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Work on Portal Style #4003

Merged
merged 2 commits into from
Dec 31, 2016
Merged

Work on Portal Style #4003

merged 2 commits into from
Dec 31, 2016

Conversation

ngotchac
Copy link
Contributor

image

Reduce the Portal size, close on click outside of the Portal content.

@ngotchac ngotchac added A0-pleasereview 🤓 Pull request needs code review. M7-ui labels Dec 30, 2016
$left: 1.5em;
$right: $left;
$bottom: $left;
$top: 15vh;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably would have gone slightly larger (20vh?) just to give slightly more modal context.

<div
className={ classes.join(' ') }
onKeyDown={ this.handleKeyDown }
onClick={ this.stopEvent }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

onClick before onKeyDown, but just my OCD kicking in. (Doesn't make a huge difference here with the small amount of attributes but prefer following a pattern everywhere for the sake of consistency)

@jacogr
Copy link
Contributor

jacogr commented Dec 30, 2016

Looks as good as we will probably get with this style for 1.5, some small throw-away comments made.

@jacogr jacogr added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Dec 30, 2016
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 48e638b on ng-portal-style into ** on master**.

@gavofyork gavofyork merged commit 0c6a9eb into master Dec 31, 2016
@gavofyork gavofyork deleted the ng-portal-style branch December 31, 2016 13:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants