Skip to content

Commit dcee660

Browse files
authored
Revert "embed feedback widget"
1 parent 3c7d0b4 commit dcee660

File tree

3 files changed

+8
-35
lines changed

3 files changed

+8
-35
lines changed

_layouts/docs.html

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,13 @@
2222
<div class="col-body">
2323
<main class="col-content content">
2424
<section class="section">
25-
<div class="content-title">
26-
{%- if page.title -%}
27-
<h1>{{ page.title }}</h1>
28-
{%- endif -%}
29-
{%- if site.hotjar_id and site.hotjar_id != '' and page.skip_feedback != true -%}
30-
<button id="hotjar-feedback">Give feedback</button>
31-
{%- endif -%}
32-
</div>
25+
{%- if page.title -%}
26+
<h1>{{ page.title }}</h1>
27+
{%- endif -%}
28+
{%- if page.advisory -%}
29+
<blockquote>{{ site.data.advisories.texts[page.advisory] | markdownify }}</blockquote>
30+
{%- endif -%}
31+
<p></p>
3332
{{ content }}
3433
</section>
3534
</main>

_scss/_buttons.scss

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -69,24 +69,3 @@ a.button.outline-btn.min-hgt {
6969
.outline-btn:hover {
7070
opacity: 0.8;
7171
}
72-
73-
// Hotjar feedback button
74-
#hotjar-feedback {
75-
align-self: center;
76-
display: flex;
77-
align-items: center;
78-
gap: 8px;
79-
color: $light-blue-500;
80-
font-weight: bold;
81-
background: none;
82-
padding: 8px 16px;
83-
border: 2px solid $light-blue-500;
84-
border-radius: 2px;
85-
.night & {
86-
color: $white;
87-
border: 2px solid $dark-blue-500;
88-
}
89-
&:hover {
90-
opacity: 0.7;
91-
}
92-
}

_scss/_content.scss

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,4 @@ main img:hover {opacity: 0.7;}
202202
}
203203
}
204204

205-
// Make the title wrapper flex
206-
.content-title {
207-
display: flex;
208-
justify-content: space-between;
209-
margin-bottom: 10px;
210-
}
205+

0 commit comments

Comments
 (0)