Skip to content

Commit 5a59068

Browse files
committed
Update cg245.html
1 parent 47f3235 commit 5a59068

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

html/cg245.html

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -82,20 +82,19 @@
8282
}
8383
#buttons{
8484
position: fixed;
85-
bottom: 50%;
86-
transform: translate(-350px, 50%);
87-
left: 50%;
85+
bottom: 20px;
86+
width: 100%;
87+
text-align: center;
8888
}
8989
#buttons button{
90-
display: block;
91-
margin: 50px 20px;
92-
padding: 15px;
90+
margin: 10px 20px;
91+
padding: 20px;
9392
border-radius: 20px;
9493
line-height: 0;
9594
font-family: "'微软雅黑','Helvetica Neue',Helvetica,Arial,sans-serif";
9695
font-size: 13px!important;
9796
height: 30px;
98-
vertical-align: middle;
97+
display: inline-block;
9998
font-weight: normal;
10099
border: 1px solid #3383da;
101100
color: #ffffff;
@@ -125,7 +124,7 @@
125124
return [x, y];
126125
}
127126
function set_svg(board){
128-
let html = '<svg baseProfile="tiny" height="700" version="1.2" viewBox="-600 -600 1200 1200" width="700" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">' +
127+
let html = '<svg baseProfile="tiny" height="600" version="1.2" viewBox="-600 -600 1200 1200" width="700" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">' +
129128
'<use xlink:href="#board-body"/>';
130129
if (ORIENTATION) html += '<use xlink:href="#red-axes" />';
131130
else html += '<use xlink:href="#black-axes" />';

0 commit comments

Comments
 (0)