mirror of https://github.com/docker/docs.git
Revert "embed feedback widget"
This commit is contained in:
parent
3c7d0b4a2f
commit
dcee6604b8
|
@ -22,14 +22,13 @@
|
||||||
<div class="col-body">
|
<div class="col-body">
|
||||||
<main class="col-content content">
|
<main class="col-content content">
|
||||||
<section class="section">
|
<section class="section">
|
||||||
<div class="content-title">
|
|
||||||
{%- if page.title -%}
|
{%- if page.title -%}
|
||||||
<h1>{{ page.title }}</h1>
|
<h1>{{ page.title }}</h1>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- if site.hotjar_id and site.hotjar_id != '' and page.skip_feedback != true -%}
|
{%- if page.advisory -%}
|
||||||
<button id="hotjar-feedback">Give feedback</button>
|
<blockquote>{{ site.data.advisories.texts[page.advisory] | markdownify }}</blockquote>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
</div>
|
<p></p>
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
|
|
|
@ -69,24 +69,3 @@ a.button.outline-btn.min-hgt {
|
||||||
.outline-btn:hover {
|
.outline-btn:hover {
|
||||||
opacity: 0.8;
|
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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue