レイアウト修正
This commit is contained in:
parent
dec33e9c64
commit
268c11111e
@ -17,6 +17,7 @@ export const injectJavascriptData: InjectJavascriptData = (
|
||||
mapSwitch != "true"
|
||||
? `
|
||||
document.querySelector('#header a').style.display = 'none';
|
||||
document.querySelector('#main').style.left = '0px';
|
||||
document.querySelector('#header').style.height = '50px';
|
||||
document.querySelector('#main').style.paddingTop = '54px';
|
||||
document.querySelector('#headerStr').style.display = 'none';
|
||||
@ -24,6 +25,7 @@ export const injectJavascriptData: InjectJavascriptData = (
|
||||
: `
|
||||
document.querySelector('.accordionClass').style.display = 'none';
|
||||
document.querySelector('#header').style.display = 'none';
|
||||
document.querySelector('#main').style.left = '0px';
|
||||
document.querySelector('#main').style.paddingTop = '0px';
|
||||
document.querySelector('#headerStr').style.display = 'none';
|
||||
`;
|
||||
@ -1518,10 +1520,13 @@ const setStrings = () =>{
|
||||
i.style.position = "unset";
|
||||
i.style.display = "flex";
|
||||
i.style.flexDirection = "column";
|
||||
i.style.alignItems = "center";
|
||||
i.style.justifyContent = "center";
|
||||
i.style.flex = "1";
|
||||
i.style.backgroundColor = "#00000000";
|
||||
i.querySelectorAll(":scope > *").forEach(j=>{
|
||||
j.style.width = "100%";
|
||||
j.style.display = "flex";
|
||||
j.style.flex = "1";
|
||||
j.style.textAlign = "center";
|
||||
j.style.margin = "5px";
|
||||
j.style.padding = "5px";
|
||||
|
Loading…
Reference in New Issue
Block a user