Skip to content

Commit

Permalink
Refined mobile screen for unsubscribe
Browse files Browse the repository at this point in the history
  • Loading branch information
peterzimon committed Nov 16, 2019
1 parent 1f67cc6 commit a64fab7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions core/frontend/views/unsubscribe.hbs
Expand Up @@ -15,7 +15,7 @@
<div class="gh-viewport">
<main class="gh-main" role="main">
<div class="gh-flow">
<header class="gh-flow-head">
<header class="gh-flow-head gh-flow-head-unsubscribe">
<nav class="gh-flow-nav">
<a href="{{@site.url}}" class="gh-flow-back-plain">
<!--?xml version="1.0" encoding="UTF-8" standalone="no"?-->
Expand All @@ -35,7 +35,7 @@
</header>

<div class="gh-flow-content-wrap">
<section class="gh-flow-content gh-flow-content-regular">
<section class="gh-flow-content gh-flow-content-unsubscribe">
<p>
{{#if error}}
Uh oh! Unsubscribe failed: "{{error}}"
Expand Down
9 changes: 8 additions & 1 deletion core/server/public/ghost.css
Expand Up @@ -741,14 +741,21 @@ h2 {
padding-left: 35px;
}

.gh-flow-content-regular {
.gh-flow-content-unsubscribe {
font-weight: 300;
}

@media (max-width: 500px) {
.gh-flow-head-unsubscribe {
padding-top: 2.8vh;
}
.gh-flow-content {
font-size: 4vw;
}
.gh-flow-content-unsubscribe {
font-size: 1.8rem;
line-height: 1.6em;
}
}
.gh-flow-content header {
margin: 0 auto;
Expand Down

0 comments on commit a64fab7

Please sign in to comment.