fix(browser-extension): popup auto height issue
This commit is contained in:
parent
5fb532c783
commit
8dc06b3168
@ -1,3 +1,4 @@
|
|||||||
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
@ -9,6 +10,22 @@
|
|||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<h1 class="header-title">Cookie Dialog Monster</h1>
|
<h1 class="header-title">Cookie Dialog Monster</h1>
|
||||||
|
<div class="header-actions">
|
||||||
|
<button disabled id="report-button">
|
||||||
|
<svg
|
||||||
|
fill="none"
|
||||||
|
height="18"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
stroke-width="2"
|
||||||
|
stroke="currentColor"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
width="18"
|
||||||
|
>
|
||||||
|
<path d="M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z"></path>
|
||||||
|
<line x1="4" y1="22" x2="4" y2="15"></line>
|
||||||
|
</svg>
|
||||||
|
</button>
|
||||||
<button id="settings-button">
|
<button id="settings-button">
|
||||||
<svg
|
<svg
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
@ -27,6 +44,7 @@
|
|||||||
/>
|
/>
|
||||||
</svg>
|
</svg>
|
||||||
</button>
|
</button>
|
||||||
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
<p aria-hidden="true" class="banner" id="issue-banner" role="alert">
|
<p aria-hidden="true" class="banner" id="issue-banner" role="alert">
|
||||||
@ -180,6 +198,76 @@
|
|||||||
</popup-data>
|
</popup-data>
|
||||||
</popup-data-container>
|
</popup-data-container>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="report" style="display: none">
|
||||||
|
<div class="report-form-view">
|
||||||
|
<div class="report-body-text" data-i18n="report_bodyText"></div>
|
||||||
|
<div class="report-form">
|
||||||
|
<div class="report-input-group">
|
||||||
|
<div class="report-input-label" id="report-label-url">
|
||||||
|
<span data-i18n="report_urlInputLabel"></span>
|
||||||
|
<span class="report-input-label-required">*</span>
|
||||||
|
</div>
|
||||||
|
<input
|
||||||
|
aria-labelledby="report-label-url"
|
||||||
|
aria-required="true"
|
||||||
|
class="report-input"
|
||||||
|
id="report-input-url"
|
||||||
|
/>
|
||||||
|
<div
|
||||||
|
class="report-input-error"
|
||||||
|
data-i18n="report_urlInputError"
|
||||||
|
id="report-input-url-error"
|
||||||
|
></div>
|
||||||
|
</div>
|
||||||
|
<div class="report-input-group">
|
||||||
|
<div class="report-input-label" id="report-label-reason">
|
||||||
|
<span data-i18n="report_reasonInputLabel"></span>
|
||||||
|
<span class="report-input-label-required">*</span>
|
||||||
|
</div>
|
||||||
|
<textarea
|
||||||
|
aria-labelledby="report-label-reason"
|
||||||
|
aria-required="true"
|
||||||
|
class="report-input"
|
||||||
|
data-i18n="report_reasonInputPlaceholder"
|
||||||
|
id="report-input-reason"
|
||||||
|
rows="4"
|
||||||
|
></textarea>
|
||||||
|
<div
|
||||||
|
class="report-input-error"
|
||||||
|
data-i18n="report_reasonInputError"
|
||||||
|
id="report-input-reason-error"
|
||||||
|
></div>
|
||||||
|
</div>
|
||||||
|
<div class="report-buttons">
|
||||||
|
<button class="report-submit-button" data-i18n="contextMenu_reportOption"></button>
|
||||||
|
<button class="report-cancel-button" data-i18n="report_cancelButtonText"></button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="report-submit-view" hidden>
|
||||||
|
<svg
|
||||||
|
fill="none"
|
||||||
|
height="48"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
stroke-width="2"
|
||||||
|
stroke="var(--color-success)"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
width="48"
|
||||||
|
>
|
||||||
|
<path d="M22 11.08V12a10 10 0 1 1-5.93-9.14" />
|
||||||
|
<polyline points="22 4 12 14.01 9 11.01" />
|
||||||
|
</svg>
|
||||||
|
<div class="report-submit-text" data-i18n="report_submitText"></div>
|
||||||
|
<div class="report-submit-extra-text" data-i18n="report_submitExtraText"></div>
|
||||||
|
<div
|
||||||
|
class="report-issue-button"
|
||||||
|
data-i18n="contextMenu_issueOption"
|
||||||
|
role="button"
|
||||||
|
tabindex="0"
|
||||||
|
></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</main>
|
</main>
|
||||||
<footer></footer>
|
<footer></footer>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue
Block a user