mirror of
https://github.com/libsdl-org/SDL.git
synced 2024-11-23 02:43:30 +08:00
Fix examples description CSS
This commit is contained in:
parent
3b5c3d6cc8
commit
6aca728056
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user