mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
examples: Make source code and console tabs take 80% of browser page.
Fixes #14997.
(cherry picked from commit 3d2af85934)
This commit is contained in:
parent
bc623d1af6
commit
2b0ce9ae6e
1 changed files with 3 additions and 3 deletions
|
|
@ -92,7 +92,7 @@
|
|||
|
||||
#output-container:hover,
|
||||
#output-container:focus-within {
|
||||
top: 50%;
|
||||
top: 20%;
|
||||
}
|
||||
|
||||
#output-container:focus-within {
|
||||
|
|
@ -151,7 +151,7 @@
|
|||
|
||||
#source-code:hover,
|
||||
#source-code:focus-within {
|
||||
top: 50%;
|
||||
top: 20%;
|
||||
}
|
||||
|
||||
#source-code:focus-within {
|
||||
|
|
@ -241,7 +241,7 @@
|
|||
return function(text) {
|
||||
var elem = document.getElementById('output-container');
|
||||
if (elem.style['top'] == '') {
|
||||
elem.style['top'] = '50%';
|
||||
elem.style['top'] = '20%';
|
||||
setTimeout(function() { elem.style['top'] = ''; }, 3000);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue