Skip to content

Commit 8f350b6

Browse files
committed
fix UI, color theme, logic handle img resource
1 parent 6588b3a commit 8f350b6

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/app/features/resource-learning/pages/resource-detail/resource-detail.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
<!-- Nếu là video -->
4242
@if (!isDocument && !isImage && resource.hlsUrl) {
4343
<app-video-player [videoSrc]="resource.hlsUrl || ''"></app-video-player>
44+
<div class="resource-detail-content">
45+
<markdown [data]="resource.description"></markdown>
46+
</div>
4447
} @else {
4548
<!-- Nếu là document -->
4649
@if (isDocument) {

src/app/features/resource-learning/pages/resource-detail/resource-detail.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
box-shadow: var(--shadow-light);
3333
display: flex;
3434
width: 100%;
35+
display: flex;
36+
flex-direction: column;
3537

3638
app-video-player,
3739
.image-view,

0 commit comments

Comments
 (0)