Skip to content

Commit af10dd8

Browse files
committed
* move buttons to the right so that they are less easy to misclick * reverse order so that "eval phrase" is first
1 parent df2e33f commit af10dd8

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

static/css/learnocaml_exercise.css

+4-6
Original file line numberDiff line numberDiff line change
@@ -318,25 +318,23 @@ body {
318318
}
319319
#learnocaml-exo-tab-toplevel > .buttons {
320320
position: absolute;
321-
left: 0; bottom: 0px; width: 100%; height: 40px;
321+
left: 0; bottom: 0px; width: 100%; height: 39px;
322322
background: linear-gradient(to bottom, #fff 0px, #ddd 10px, #aaa 60px);
323323
color: #fff;
324324
line-height: 40px;
325325
display: flex;
326-
flex-direction: row;
326+
flex-direction: row-reverse;
327327
z-index: 1003;
328+
border-top: 1px #000 solid;
328329
}
329330
#learnocaml-exo-tab-toplevel > .buttons > button {
330-
flex: 1;
331+
flex: 0 0.33 200px;
331332
background: none;
332333
border: none;
333334
color: #222;
334335
text-shadow: 2px 2px 5px rgba(0,0,0,0.2);
335-
border-top: 1px #666 solid;
336336
position: relative;
337337
padding: 0;
338-
}
339-
#learnocaml-exo-tab-toplevel > .buttons > button:not(:first-child) {
340338
border-left: 1px #666 solid;
341339
}
342340
@media (max-width: 550px) {

0 commit comments

Comments
 (0)