Skip to content

Commit 51b4d9d

Browse files
committed
formatting
1 parent 5bde7b2 commit 51b4d9d

2 files changed

Lines changed: 17 additions & 15 deletions

File tree

src/app/features/report/post-detail/post-detail.component.html

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,12 @@ <h4 class="mb-2 mb-md-0">
6868
>
6969
<fa-icon class="p-0 m-0" [icon]="['fas', 'info-circle']"></fa-icon>
7070
</button>
71-
<a
72-
class="btn btn-link text-decoration-none p-0 ms-1 text-break"
73-
[title]="a.originalFilename"
74-
(click)="download(a)"
75-
>
76-
{{ a.originalFilename | trim: 30 }}
77-
</a>
71+
72+
<a class="btn btn-link p-0 text-decoration-none ms-1 text-break" (click)="download(a)">
73+
<abbr [title]="a.originalFilename">
74+
{{ a.originalFilename | trim: 30 }}
75+
</abbr>
76+
</a>
7877
</div>
7978
</div>
8079
<div>

src/app/features/report/post-editor/post-editor.component.html

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,7 @@
7474
<a ngbNavLink>Editor</a>
7575

7676
<ng-template ngbNavContent>
77-
<div class="d-flex justify-content-start">
78-
<div class="col-5 border-end shadow-sm me-2" style="height: 73.9vh; overflow-y: scroll">
79-
<div class="d-flex justify-content-start bg-light p-1 pt-2 pb-2 border-bottom">
77+
<div class="d-flex w-100 justify-content-start bg-light p-1 pt-2 pb-2 border-bottom">
8078
<button
8179
type="button"
8280
class="btn bg-white flat text-muted btn-outline-secondary me-1"
@@ -127,6 +125,9 @@
127125
Table
128126
</button>
129127
</div>
128+
129+
<div class="d-flex justify-content-start">
130+
<div class="col-7 shadow-sm me-2" style="height: 73.9vh; overflow-y: scroll">
130131
<textarea
131132
appAutoFocus
132133
autosize
@@ -137,7 +138,7 @@
137138
[placeholder]="'your text here'"
138139
></textarea>
139140
</div>
140-
<div class="col" style="height: 75vh; overflow-y: scroll">
141+
<div class="col" style="height: 73.9vh; overflow-y: scroll">
141142
<markdown [data]="htmlContent.value" />
142143
</div>
143144
</div>
@@ -164,7 +165,7 @@
164165
</div>
165166
</div>
166167

167-
<div style="height: 56vh; overflow-y: scroll">
168+
<div style="height: 96vh; overflow-y: scroll">
168169
<div class="d-flex justify-content-end align-items-center">
169170
<button
170171
class="btn btn-warning mt-2 mb-2"
@@ -197,9 +198,11 @@
197198
tooltipClass="m-0 p-0 opacity-100 bg-transparent border flat shadow-sm"
198199
>
199200
<fa-icon [icon]="['fas', 'info-circle']"></fa-icon></button
200-
><a class="btn btn-link p-0 text-decoration-none text-break" (click)="download(a)"
201-
>&nbsp;{{ a.originalFilename | trim: 30 }}</a
202-
>
201+
><a class="btn btn-link p-0 text-decoration-none text-break" (click)="download(a)">
202+
<abbr [title]="a.originalFilename">
203+
{{ a.originalFilename | trim: 30 }}
204+
</abbr>
205+
</a>
203206
</div>
204207

205208
<div class="d-lg-flex align-items-center justify-content-start">

0 commit comments

Comments
 (0)