"Give up" dialog improvement

This commit is contained in:
t510599 2018-06-03 12:32:28 +08:00
parent c125e9a712
commit 730d5d23fe
3 changed files with 2 additions and 2 deletions

View File

@ -255,7 +255,7 @@ $('#skip').click(function() {
$('#giveup').click(function() { $('#giveup').click(function() {
dialog.children(".header").html('你放棄人生了SAD'); dialog.children(".header").html('你放棄人生了SAD');
dialog.children(".content").html('<img src="./lose.png"><p class="result enemy name">'+eneName+'</p><p class="result player name">'+curName+'</p>'); dialog.children(".content").html('<div style="display: flex; justify-content: center;"><img src="./thinking.png" style="max-height: 60vh"></div>');
dialog.children(".actions").html('<button id="close" class="ts button">關閉視窗</button><button id="restart" class="ts primary button">重啟對戰</button><button id="returnIndex" class="ts positive button">返回主畫面</button>'); dialog.children(".actions").html('<button id="close" class="ts button">關閉視窗</button><button id="restart" class="ts primary button">重啟對戰</button><button id="returnIndex" class="ts positive button">返回主畫面</button>');
timerInitialize(); // also remember to stop the timer timerInitialize(); // also remember to stop the timer
modalOpen(); modalOpen();

View File

@ -71,7 +71,7 @@ label {
max-height: 60vh; max-height: 60vh;
overflow-y: scroll; overflow-y: scroll;
} }
.modal .content img { .modal .content > img {
width: 100%; width: 100%;
} }
p.result.name { p.result.name {

BIN
web/thinking.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB