File tree Expand file tree Collapse file tree 3 files changed +31
-12
lines changed
Expand file tree Collapse file tree 3 files changed +31
-12
lines changed Original file line number Diff line number Diff line change @@ -66,29 +66,41 @@ select {
6666}
6767
6868header {
69- border-bottom : 1px solid;
70- padding : 10px ;
71- margin-bottom : 20px ;
72- display : flex;
73- align-items : center;
69+ border-bottom : 1px solid;
70+ padding : 10px ;
71+ margin-bottom : 20px ;
72+ display : flex;
73+ justify-content : space-between; /* Aligns items to opposite ends */
74+ align-items : center;
75+ }
76+
77+ header .left-section {
78+ display : flex;
79+ align-items : center;
7480}
7581
7682header img {
77- width : 40px ;
78- height : auto;
83+ width : 40px ;
84+ height : auto;
7985}
8086
8187header h1 {
82- margin : 5px ;
88+ margin : 5px ;
8389}
8490
91+ header .right-section {
92+ /* Optionally add some margin to separate from the header edge */
93+ margin-left : auto; /* Pushes the GitHub icon to the right */
94+ }
95+
96+
8597footer {
8698 text-align : center;
8799}
88100
89101/* Set editor dimensions */
90102.editor {
91- height : 600 px ;
103+ height : 575 px ;
92104 width : 100% ;
93105}
94106
Original file line number Diff line number Diff line change 1313
1414< body >
1515 < header >
16- < img src ="{{ url_for('static', path='images/logo.png') }} " alt ="Logo ">
17- < h1 > SQL Translate</ h1 >
16+ < div class ="left-section ">
17+ < img src ="{{ url_for('static', path='images/logo.png') }} " alt ="Logo ">
18+ < h1 > SQL Translate</ h1 >
19+ </ div >
20+ < div class ="right-section ">
21+ < a href ="https://github.com/TylerHillery/sql-translate " target ="_blank "> < img src ="{{ url_for('static', path='images/github-mark.png') }} " alt ="GitHub "> </ a >
22+ </ div >
1823 </ header >
1924
2025 {% block content %}
2126 {% endblock content %}
2227 < footer >
23- < h6 > Powered by</ h6 >
28+ < h6 >
29+ Powered by
30+ </ h6 >
2431 < a href ="https://github.com/tobymao/sqlglot " target ="_blank ">
2532 < img src ="{{ url_for('static', path='images/sqlglot.png') }} " alt ="SQLGlot "
2633 style ="width: 150px; height: 40px; ">
You can’t perform that action at this time.
0 commit comments