Skip to content

Commit 7378acf

Browse files
authored
Merge pull request #2164 from nmelehan/fix-try-this-guide-styling
Fix button location for extra small screens
2 parents 7aaa157 + 976eb42 commit 7378acf

File tree

6 files changed

+21
-8
lines changed

6 files changed

+21
-8
lines changed

ci/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ pytest>=3.3.0
44
tabulate>=0.8.2
55
python-frontmatter>=0.4.2
66
twisted==18.4.0
7+
attrs>=17.4.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<link href="{{ relURL "build/stylesheets/home-42d5a39635.min.css" }}" rel='stylesheet' type='text/css'>
1+
<link href="{{ relURL "build/stylesheets/home-84dcf75eeb.min.css" }}" rel='stylesheet' type='text/css'>

themes/docsmith/layouts/partials/promo_code.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div markdown="0" class="signup-top">
2-
<div class="row row-eq-height">
3-
<div class="col-lg-9 col-md-9 col-xs-8">
2+
<div class="row">
3+
<div class="col-lg-9 col-md-9 col-sm-8 col-xs-12">
44
<span>
55
{{ if and ($.Params.promo_code) ($.Params.promo_code_amount) }}
66
Use promo code <strong>{{ $.Params.promo_code }}</strong> for ${{ $.Params.promo_code_amount }} credit on a new account.
@@ -9,7 +9,7 @@
99
{{ end }}
1010
</span>
1111
</div>
12-
<div class="col-lg-3 col-md-3 col-xs-4 text-right">
12+
<div class="col-lg-3 col-md-3 col-sm-4 col-xs-12">
1313
<form action="https://manager.linode.com/session/signup">
1414
<button type="submit" target="_blank" class="btn btn-blue btn-sm btn-border">Try this Guide</button>
1515
</form>

themes/docsmith/static/build/stylesheets/home-42d5a39635.min.css renamed to themes/docsmith/static/build/stylesheets/home-84dcf75eeb.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

themes/docsmith/static/build/stylesheets/home.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21328,6 +21328,18 @@ li.library-article-item:nth-child(odd) {
2132821328
padding-top: 4px;
2132921329
}
2133021330
}
21331+
@media only screen and (max-width: 768px) {
21332+
.signup-top > div.row > div:last-child {
21333+
text-align: left;
21334+
margin-top: 8px;
21335+
}
21336+
}
21337+
@media only screen and (min-width: 768px) {
21338+
.signup-top > div.row > div:last-child {
21339+
text-align: right;
21340+
margin-top: 0;
21341+
}
21342+
}
2133121343
.signup-top span {
2133221344
font-family: Lato, sans-serif;
2133321345
font-size: 18px;

themes/docsmith/static/build/stylesheets/home.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)