Skip to content

Commit

Permalink
change logs
Browse files Browse the repository at this point in the history
  • Loading branch information
HoangTran0410 committed Sep 12, 2024
1 parent 8c775d5 commit bd10d80
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 3 deletions.
6 changes: 4 additions & 2 deletions README-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ Play your favorite League of Legends champions right on your browser
[Play Now](https://hoangtran0410.github.io/LOL2D)

<!-- display screenshot -->
![Screenshot](/assets/images/screenshots/Screenshot_2.png)
![Screenshot](/assets/images/screenshots/Screenshot_1.jpg)

![Screenshot](/assets/images/screenshots/Screenshot_1.png)
![Screenshot](/assets/images/screenshots/Screenshot_4.jpg)

![Screenshot](/assets/images/screenshots/Screenshot_3.jpg)

## Introduction

Expand Down
15 changes: 15 additions & 0 deletions src/game/hud/InGameHUD.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,21 @@ export default class InGameHUD {
</div>
</div>
</div>
<div class="change-logs">
<p class="title">Lịch sử cập nhật</p>
<p>
2024-09-12:
<ul>
<li>MỚI: Graves W - Bom mù</li>
<li>MỚI: Cơ chế giảm tầm nhìn
<li>CẬP NHẬT: Teemo R nay có thể nảy</li>
<li>CẬP NHẬT: Giảm thời gian đợi Q2 của yasuo - tích cộng dồn nhanh hơn
<li>Cập nhật hình ảnh các bộ chiêu thức</li>
</ul>
</p>
</div>
</div>
</div>
`,
Expand Down
14 changes: 13 additions & 1 deletion styles/hud.css
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@
flex-direction: column;
width: 80vw;
max-width: 1000px;
max-height: 80vh;
max-height: 95vh;
overflow-y: auto;
}

Expand Down Expand Up @@ -376,3 +376,15 @@
opacity: 0.2;
object-fit: cover;
}

.change-logs {
max-height: 30px;
overflow: hidden;
transition: all 0.2s;
}

.change-logs:hover {
max-height: 200px;
overflow-y: auto;
overflow-x: hidden;
}

0 comments on commit bd10d80

Please sign in to comment.