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

View file

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