1
0
Fork 0
mirror of https://github.com/mat-1/matdoesdev.git synced 2025-08-02 14:46:04 +00:00

fix issues with updated retro page hopefully

This commit is contained in:
mat 2024-03-19 00:45:19 -05:00
parent 6647fb94f4
commit 1c5f265772
3 changed files with 9 additions and 5 deletions

View file

@ -38,9 +38,9 @@
{/key} {/key}
<style> <style>
:global(body) { /* :global(body) {
overflow: hidden; overflow: hidden;
} } */
#page { #page {
height: 100%; height: 100%;
display: flex; display: flex;

View file

@ -106,7 +106,7 @@
<table id="main-table"> <table id="main-table">
<tr> <tr>
<td valign="top" class="left-sidebar-container" width="200"> <td valign="top" class="left-sidebar-container" width="200">
<table class="left-sidebar" width="200" cellspacing="0"> <table class="left-sidebar" width="210" cellspacing="0">
<tr> <tr>
<td class="website-status-container"> <td class="website-status-container">
<h3>Website status</h3> <h3>Website status</h3>
@ -400,11 +400,12 @@
} }
.left-sidebar { .left-sidebar {
width: 200px; /* 210px so "Sleeping" fits */
width: 210px;
text-align: center; text-align: center;
} }
.left-sidebar-container { .left-sidebar-container {
width: 200px; width: 210px;
} }
.left-sidebar > tr > td { .left-sidebar > tr > td {
background-color: #000; background-color: #000;

View file

@ -89,6 +89,9 @@ export function initNeko(nekoEl: HTMLDivElement, updateSpriteCallback: (name: st
mousePosX = event.clientX mousePosX = event.clientX
mousePosY = event.clientY mousePosY = event.clientY
}) })
// move to body so it persists on page changes
document.body.appendChild(nekoEl)
} }
function init() { function init() {