Skip to content

Commit c9791a6

Browse files
committed
Adjust the style of the code tab
1 parent b1d410c commit c9791a6

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

public/css/code-tab.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
#goby-lang {
2-
height: 65vh;
2+
height: 75vh;
3+
width: 85%;
4+
margin-left: auto;
5+
margin-right: auto;
36
}
47
#goby-lang > pre {
58
margin: 0;
6-
height: calc(65vh - 35pt);
9+
height: calc(75vh - 35pt);
710
overflow: auto;
811
-webkit-overflow-scrolling: touch;
912
}

public/css/index.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ a { text-decoration: none; }
3838
.to-do-app {
3939
width: 85%;
4040
margin: 0 auto;
41-
max-height: calc(65vh - 6pt);
41+
max-height: calc(75vh - 6pt);
4242
box-sizing: border-box;
4343
box-shadow: 4pt 4pt 0pt rgba(247, 255, 160, 0.5),
4444
8pt 8pt 0pt rgba(255, 194, 79, 0.65),
@@ -93,7 +93,7 @@ a { text-decoration: none; }
9393
.list-group {
9494
background-color: #eea;
9595
color: #666;
96-
max-height: calc(65vh - 46pt);
96+
max-height: calc(75vh - 46pt);
9797
overflow: auto;
9898
/* box-shadow: inset 0pt 5pt 10pt #444; */
9999
position: relative;

0 commit comments

Comments
 (0)