Commit cd0ddd12 by Nakarin Luankla

UPDATE แก้ไขช่อง text-center

parent c411c0b4
...@@ -239,8 +239,7 @@ ...@@ -239,8 +239,7 @@
<tr> <tr>
<ng-container <ng-container
*ngFor="let item of ['','รหัส','ชื่อหัวข้อ','ประเภท','น้ำหนัก','การจัดการ']; let f = first; let l = last; let i = index"> *ngFor="let item of ['','รหัส','ชื่อหัวข้อ','ประเภท','น้ำหนัก','การจัดการ']; let f = first; let l = last; let i = index">
<th scope="col" class="relative px-10px py-10px bg-soft-secondary text-primary" <th scope="col" class="relative px-10px py-10px bg-soft-secondary text-primary !text-center">
[class.!text-center]="f || l || item === 'ประเภท'">
<span class="text-sm">{{ item }}</span> <span class="text-sm">{{ item }}</span>
</th> </th>
</ng-container> </ng-container>
...@@ -383,8 +382,7 @@ ...@@ -383,8 +382,7 @@
<tr> <tr>
<ng-container <ng-container
*ngFor="let item of ['รหัส','ชื่อหัวข้อ','ประเภท','การจัดการ']; let f = first; let l = last; let i = index"> *ngFor="let item of ['รหัส','ชื่อหัวข้อ','ประเภท','การจัดการ']; let f = first; let l = last; let i = index">
<th scope="col" class="relative px-10px py-10px bg-soft-secondary text-primary" <th scope="col" class="relative px-10px py-10px bg-soft-secondary text-primary !text-center">
[class.!text-center]="f||l">
<span class="text-sm">{{ item }}</span> <span class="text-sm">{{ item }}</span>
<div class="absolute top-1/2 transform -translate-y-1/2 right-0" <div class="absolute top-1/2 transform -translate-y-1/2 right-0"
*ngIf="!f && i==1"> *ngIf="!f && i==1">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment