File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- < div >
1+ < div class =' instructions-text ' >
22 < h2 class ="font20-reg "> Instructions</ h2 >
33 < div >
44 < p class ="font14-reg pre-line "> {{instructions}}</ p >
Original file line number Diff line number Diff line change 11< div class ='output '>
2- < p class ="font14-reg val "> Time: {{time}} < span class ='pass '> Passed: </ span > {{testPass}} < span class ='fail '> Failed: </ span > {{testFail}} </ p >
2+ < div class ="font14-reg val output-header ">
3+ < div class ='output-items '>
4+ Time: < span class ='white '> {{time}}</ span >
5+ </ div >
6+ < div class ='pass output-items '>
7+ Passed:< span class ='white '> {{testPass}}</ span >
8+ </ div >
9+ < div class ='fail output-items '>
10+ Failed: < span class ='white '> {{testFail}}</ span >
11+ </ div >
12+ </ div >
313 < hr >
414 < span class ='font14-reg val '> < u > Test Results:</ u > </ span > < br > < br >
515 < div class ="font14-reg-nw val " ng-repeat ='val in answer ' ng-class ="val.passed != undefined ? (val.passed ? 'pass' : 'fail') : 'white' ">
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ <h2 class="font20-reg">Name of Kata</h2>
4444 </div> -->
4545 < div class ="instructions " ng-style ="instructionStyle ">
4646 < div class ="instructions-head ">
47- < div class ='instructions-selector font14-lit-gray ' ng-click ='showInstructions() '> Instructions</ div >
47+ < div class ='instructions-selector font14-lit-gray ' ng-click ='showInstructions() '> < div class =' button-text ' > Instructions</ div > </ div >
4848 < div class ='output-selector font14-lit-gray ' ng-click ='showOutput() '> < div class ='button-text '> Output</ div > </ div >
4949 <!--<button class="instructions-selector font13-reg-gray" ng-click="showInstructions()">Instructions</button>
5050 <button class="instructions-selector font13-reg-gray" ng-click="showOutput()">Output</button>-->
Original file line number Diff line number Diff line change @@ -102,7 +102,6 @@ $white: white;
102102}
103103
104104.instructions {
105- // height: calc(100vh - 150px);
106105 width : 40vw ;
107106 overflow : scroll ;
108107 margin : 15px ;
@@ -124,6 +123,7 @@ $white: white;
124123 text-align : center ;
125124 cursor : pointer ;
126125 background-color : $grey-color2 ;
126+ display :flex ;
127127}
128128
129129.output-selector {
@@ -132,10 +132,16 @@ $white: white;
132132 text-align : center ;
133133 cursor : pointer ;
134134 line-height : 40px ;
135+ display :flex ;
135136}
136137
137138.button-text {
138139margin :auto ;
140+ align-self : center ;
141+ }
142+
143+ .instructions-text {
144+ padding : 5px 0 0 10px ;
139145}
140146
141147hr {
@@ -193,6 +199,17 @@ hr {
193199 margin : 0 0 0 10px ;
194200 overflow : auto ;
195201}
202+
203+ .output-header {
204+ display :flex ;
205+ flex-direction : row ;
206+ align-content : left ;
207+ }
208+
209+ .output-items {
210+ justify-content : space-between ;
211+ }
212+
196213.pass {
197214 color : $pass ;
198215}
You can’t perform that action at this time.
0 commit comments