Skip to content

Commit 0075498

Browse files
Merge pull request #60 from testsigmahq/fix/WEB-678
fix: Alignment issues on tutorial header
2 parents 2752208 + 517a8fe commit 0075498

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

src/components/header.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const Header = () => {
2020
</svg>
2121
</a>
2222
<nav className="flex-auto flex items-center">
23-
<nav className="flex w-4/5">
23+
<nav className="flex w-7/12">
2424
<div className="flex items-stretch font-semibold ml-20">
2525
<a className="btn btn-ghost btn-sm pr-2 rounded-btn" href={'/docs/'}>
2626
Docs

src/components/navcards.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
border: .1rem solid $light-grey;
66
border-radius: 2px;
77
@media (max-width: 767px) {
8-
@apply w-full m-8;
8+
@apply m-8;
9+
width: 100%;
910
}
1011
&:hover{
1112
background: $black_haze;

src/components/seo.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ function SEO({ lang,
142142
<script src="https://polyfill.io/v3/polyfill.min.js?features=default%2CArray.prototype.find%2CArray.prototype.includes%2CPromise%2CObject.assign%2CObject.entries" />
143143
{/* Algolia API v4 IE11 support */}
144144
<script src="https://polyfill.io/v3/polyfill.min.js?features=Promise%2CObject.entries%2CObject.assign" />
145+
<script async defer type='text/javascript' charSet='utf-8' src='https://js.hsforms.net/forms/embed/v2.js' />
146+
<script type="text/javascript" id="hs-script-loader" async defer src="//js.hs-scripts.com/23422177.js"></script>
145147

146148
</Helmet>
147149
);

src/templates/page.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ code[class*="language-"] {
640640
width: 60%;
641641
}
642642
@media (min-width: 1024px) {
643-
@apply w-1/5;
643+
@apply w-2/5;
644644
}
645645
@media (max-width: 1279px) {
646646
@apply p-0;

0 commit comments

Comments
 (0)