File tree Expand file tree Collapse file tree 1 file changed +18
-7
lines changed
Expand file tree Collapse file tree 1 file changed +18
-7
lines changed Original file line number Diff line number Diff line change 1818 }
1919
2020 # toolbar {
21- position : relative; /* ✅ Needed for absolute positioning */
21+ position : relative;
2222 display : flex;
2323 align-items : center;
2424 padding : 10px ;
2525 background : # f5f5f5 ;
2626 border-bottom : 1px solid # ccc ;
2727 }
2828
29- # settingsToggle {
30- position : absolute; /* ✅ Moved to top-right */
31- top : 10px ;
29+ # toolbar h2 {
30+ margin : 0 ;
31+ }
32+
33+ # toolbar .right-buttons {
34+ display : flex;
35+ gap : 10px ;
36+ position : absolute;
3237 right : 10px ;
38+ top : 10px ;
3339 }
3440
3541 # settingsPanel {
127133< body >
128134
129135 < div id ="toolbar ">
130- < h2 style ="margin: 0; "> Blockly JavaScript Builder</ h2 >
131- < button id ="settingsToggle "> ⚙️ Settings</ button >
136+ < h2 > Blockly JavaScript Builder</ h2 >
137+ < div class ="right-buttons ">
138+ < button onclick ="window.open('https://discord.gg/5fNTJ7JW', '_blank') "> 💬 Join Discord</ button >
139+ < button id ="settingsToggle "> ⚙️ Settings</ button >
140+ </ div >
132141 </ div >
133142
134143 < div id ="settingsPanel ">
@@ -191,7 +200,9 @@ <h2 style="margin: 0;">Blockly JavaScript Builder</h2>
191200 </ category >
192201 < category name ="Loops " colour ="%{BKY_LOOPS_HUE} ">
193202 < block type ="controls_repeat_ext ">
194- < value name ="TIMES "> < shadow type ="math_number "> < field name ="NUM "> 10</ field > </ shadow > </ value >
203+ < value name ="TIMES ">
204+ < shadow type ="math_number "> < field name ="NUM "> 10</ field > </ shadow >
205+ </ value >
195206 </ block >
196207 < block type ="controls_whileUntil "> < field name ="MODE "> WHILE</ field > </ block >
197208 </ category >
You can’t perform that action at this time.
0 commit comments