Index: Center index content

This is only for the lg-Screen-size. It makes the content use more space and be more centered in the screen.

Wanted to use some Tailwind-Center-Class but didn't manage to. This works as well.
This commit is contained in:
Tobias 2021-01-20 20:40:40 +01:00
parent dc9b2d382b
commit 0443de44b6
2 changed files with 3 additions and 1 deletions

View file

@ -306,6 +306,8 @@ a {
z-index: 5000;
transition: all 500ms linear;
pointer-events: none;
left: 0;
right: 0;
}
.welcomeMessage {

View file

@ -120,7 +120,7 @@ if (layoutFromBase64.startsWith("wiki:")) {
document.getElementById("messagesboxmobile").remove();
new MoreScreen(true)
.SetStyle("pointer-events: all;")
.AddClass("block m-5")
.AddClass("block m-5 lg:w-3/4 lg:ml-40")
.AttachTo("topleft-tools");
}
window.addEventListener('contextmenu', function (e) { // Not compatible with IE < 9