Fix examples description CSS

This commit is contained in:
Semphris 2024-07-30 13:24:49 -04:00 committed by Ryan C. Gordon
parent 3b5c3d6cc8
commit 6aca728056
1 changed files with 5 additions and 6 deletions

View File

@ -135,21 +135,20 @@
}
#example-description {
background: black;
color: white;
height: 100%;
align-items: center;
text-align: center;
position: relative; /* required for proper positioning */
}
</style>
<link rel="stylesheet" type="text/css" href="highlight.css">
</head>
<body>
<div id="example-description">
@description@
</div>
<div class="canvas-container">
<canvas id="canvas" oncontextmenu="event.preventDefault()" tabindex="-1"></canvas>
</div>
<div id="example-description">
@description@
</div>
<div id="output-container">
<textarea id="output" rows="8" spellcheck="false" readonly></textarea>
</div>