Skip to content

Commit

Permalink
Make close notice icon clickable (#6182)
Browse files Browse the repository at this point in the history
* Make close notice icon clickable

Bump the z-index of the x close link to make sure that the connect
banner is closable. Since currently you can't click on the link to
close the banner.

* Make the banner more readable

By making sure that the icons are always aligned at the same width and
that text lines are not super long.
  • Loading branch information
enejb authored and George Stephanis committed Jan 30, 2017
1 parent cac6b0c commit 1aeb4f7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scss/organisms/_banners.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@
box-sizing: border-box;
}

.jp-wpcom-connect__inner-container > a:first-child {
z-index: 1;
}

.jp-wpcom-connect__inner-container {
display: flex;
flex-direction: row;
Expand All @@ -67,9 +71,10 @@
}

.jp-wpcom-connect__content-container {
max-width: rem( 1200px );
max-width: 800px;
position: relative;
padding: rem( 32px );
z-index: 0;

@include minbreakpoint(tablet) {
padding: rem( 32px ) rem( 32px ) rem( 96px ) rem( 32px );
Expand Down

0 comments on commit 1aeb4f7

Please sign in to comment.