| | @@ -22,22 +22,17 @@ |
| 22 | 22 | margin: 0.5em 0.25em 0 0.25em; |
| 23 | 23 | padding: 0; |
| 24 | 24 | } |
| 25 | 25 | #controlWrapper { |
| 26 | 26 | display: flex; |
| 27 | | - flex-direction: column; |
| 27 | + flex-direction: row; |
| 28 | 28 | z-index: 1; |
| 29 | 29 | background: white /*do not bleed iframe through */; |
| 30 | 30 | border-bottom: 2px dotted; |
| 31 | 31 | padding-bottom: 0.5em; |
| 32 | 32 | } |
| 33 | | - #controls { |
| 34 | | - display: flex; |
| 35 | | - flex-direction: row; |
| 36 | | - flex-grow: 0; |
| 37 | | - } |
| 38 | | - #controls > button { |
| 33 | + #controlWrapper > button { |
| 39 | 34 | flex-grow: 1; |
| 40 | 35 | margin: 0.5em; |
| 41 | 36 | } |
| 42 | 37 | #selectWrapper { |
| 43 | 38 | display: flex; |
| | @@ -71,20 +66,18 @@ |
| 71 | 66 | them. Use the arrow keys to cycle through the list. The links are |
| 72 | 67 | loaded within an iframe, so navigation within it will stay within |
| 73 | 68 | that frame. |
| 74 | 69 | </header> |
| 75 | 70 | <header id='controlWrapper'> |
| 76 | | - <div id='controls'> |
| 77 | | - <button id='btn-prev'>←</button> |
| 78 | | - <div id='selectWrapper'> |
| 79 | | - <select id='selectPage'> |
| 80 | | - <option>/timeline</option> |
| 81 | | - <option>/dir</option> |
| 82 | | - </select> |
| 83 | | - <a target='_blank' id='currentUrl'></a> |
| 84 | | - </div> |
| 85 | | - <button id='btn-next'>→</button> |
| 86 | | - </div> |
| 71 | + <button id='btn-prev'>←</button> |
| 72 | + <div id='selectWrapper'> |
| 73 | + <select id='selectPage'> |
| 74 | + <option>/timeline</option> |
| 75 | + <option>/dir</option> |
| 76 | + </select> |
| 77 | + <a target='_blank' id='currentUrl'></a> |
| 78 | + </div> |
| 79 | + <button id='btn-next'>→</button> |
| 87 | 80 | </header> |
| 88 | 81 | <iframe id='iframe'><!--populated via the UI--></iframe> |
| 89 | 82 | <script src='link-tester.js'></script> |
| 90 | 83 | <body> |
| 91 | 84 | |