mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-10 14:10:59 +08:00
fixed screenshot alignment
fixed screenshot showing test config
This commit is contained in:
parent
17e7413c76
commit
0e25e39dc3
1 changed files with 2 additions and 0 deletions
|
|
@ -248,6 +248,7 @@ export async function screenshot(): Promise<void> {
|
|||
}
|
||||
|
||||
function revertScreenshot(): void {
|
||||
$("#testConfig").removeClass("invisible");
|
||||
$("#ad-result-wrapper").removeClass("hidden");
|
||||
$("#ad-result-small-wrapper").removeClass("hidden");
|
||||
$("#notificationCenter").removeClass("hidden");
|
||||
|
|
@ -292,6 +293,7 @@ export async function screenshot(): Promise<void> {
|
|||
const sourceHeight = <number>(
|
||||
src.outerHeight(true)
|
||||
); /*clientHeight/offsetHeight from div#target*/
|
||||
$("#testConfig").addClass("invisible");
|
||||
$("#notificationCenter").addClass("hidden");
|
||||
$("#commandLineMobileButton").addClass("hidden");
|
||||
$(".pageTest .loginTip").addClass("hidden");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue