Skip to content

Commit 55b7cc8

Browse files
Update: replace div with li, move styles to global styles
1 parent a7ee452 commit 55b7cc8

File tree

3 files changed

+16
-22
lines changed

3 files changed

+16
-22
lines changed

src/client/src/app/core/image/pull-list/pull-list.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ <h2 class="text-center">
2929
</blockquote>
3030

3131
<ul class="list-group list-group-light">
32-
<div class="list-group-item m-auto" *ngFor="let task of tasks">
32+
<li class="list-group-item m-auto" *ngFor="let task of tasks">
3333
<p>
3434
<span class="fw-bold">{{ task.repository }}</span>
3535

@@ -73,7 +73,7 @@ <h2 class="text-center">
7373
>
7474
</textarea>
7575
</div>
76-
</div>
76+
</li>
7777
</ul>
7878
</div>
7979
</div>
Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +0,0 @@
1-
textarea {
2-
padding: 8px;
3-
font-family: "Ubuntu Mono";
4-
color: white;
5-
white-space: pre-line;
6-
border-radius: 5px;
7-
background-color: #000;
8-
border: 1px solid #000;
9-
background-color: rgb(41, 41, 41);
10-
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.07),
11-
0 4px 6px -2px rgba(0, 0, 0, 0.05);
12-
13-
font-size: 15px;
14-
resize: none;
15-
}

src/client/src/styles.scss

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,18 @@
3939
text-transform: capitalize;
4040
}
4141

42-
43-
44-
45-
body {
46-
overflow-x: hidden;
42+
textarea {
43+
resize: none;
44+
width: 100%;
45+
padding: 8px;
46+
color: white;
47+
font-size: 15px;
48+
margin-bottom: 5px;
49+
font-family: "mono";
50+
border-radius: 10px;
51+
white-space: pre-line;
52+
border: 10px solid rgb(41, 41, 41);
53+
background-color: rgb(41, 41, 41);
54+
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.07),
55+
0 4px 6px -2px rgba(0, 0, 0, 0.05);
4756
}

0 commit comments

Comments
 (0)