Revert "embed feedback widget"

This commit is contained in:
David Karlsson 2023-05-04 12:57:14 +02:00 committed by GitHub
parent 3c7d0b4a2f
commit dcee6604b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 35 deletions

View File

@ -22,14 +22,13 @@
<div class="col-body">
<main class="col-content content">
<section class="section">
<div class="content-title">
{%- if page.title -%}
<h1>{{ page.title }}</h1>
{%- endif -%}
{%- if site.hotjar_id and site.hotjar_id != '' and page.skip_feedback != true -%}
<button id="hotjar-feedback">Give feedback</button>
{%- endif -%}
</div>
{%- if page.title -%}
<h1>{{ page.title }}</h1>
{%- endif -%}
{%- if page.advisory -%}
<blockquote>{{ site.data.advisories.texts[page.advisory] | markdownify }}</blockquote>
{%- endif -%}
<p></p>
{{ content }}
</section>
</main>

View File

@ -69,24 +69,3 @@ a.button.outline-btn.min-hgt {
.outline-btn:hover {
opacity: 0.8;
}
// Hotjar feedback button
#hotjar-feedback {
align-self: center;
display: flex;
align-items: center;
gap: 8px;
color: $light-blue-500;
font-weight: bold;
background: none;
padding: 8px 16px;
border: 2px solid $light-blue-500;
border-radius: 2px;
.night & {
color: $white;
border: 2px solid $dark-blue-500;
}
&:hover {
opacity: 0.7;
}
}

View File

@ -202,9 +202,4 @@ main img:hover {opacity: 0.7;}
}
}
// Make the title wrapper flex
.content-title {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
}