Skip to content

Commit 136675d

Browse files
committed
fix: Adjust LogsRenderer styling and add container class
1 parent 1728188 commit 136675d

File tree

4 files changed

+46
-44
lines changed

4 files changed

+46
-44
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devtron-labs/devtron-fe-common-lib",
3-
"version": "0.1.8-beta-12",
3+
"version": "0.1.8-beta-13",
44
"description": "Supporting common component library",
55
"type": "module",
66
"main": "dist/index.js",
Lines changed: 42 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,52 @@
1-
.logs-renderer {
2-
&__search-bar {
3-
.search-bar {
4-
background: transparent;
5-
border-radius: 0px;
6-
border: none !important;
7-
8-
input {
9-
color: var(--N0);
10-
11-
&::placeholder {
12-
color: var(--N500);
1+
.logs-renderer-container {
2+
.logs-renderer {
3+
&__search-bar {
4+
.search-bar {
5+
background: transparent;
6+
border-radius: 0px;
7+
border: none !important;
8+
9+
input {
10+
color: var(--N0);
11+
12+
&::placeholder {
13+
color: var(--N500);
14+
}
15+
}
16+
17+
&:hover {
18+
border: none !important;
19+
background: transparent;
1320
}
1421
}
15-
16-
&:hover {
22+
23+
.search-bar:focus-within {
1724
border: none !important;
18-
background: transparent;
1925
}
2026
}
21-
22-
.search-bar:focus-within {
23-
border: none !important;
24-
}
25-
}
26-
27-
&__stage-accordion {
28-
background-color: #0C1021;
29-
30-
&:not(&--open-stage):hover {
31-
background-color: rgba(44, 51, 84, 0.5);
27+
28+
&__stage-accordion {
29+
background-color: #0C1021;
30+
31+
&:not(&--open-stage):hover {
32+
background-color: rgba(44, 51, 84, 0.5);
33+
}
34+
35+
&--open-stage {
36+
background-color: #2C3354;
37+
}
38+
3239
}
33-
34-
&--open-stage {
35-
background-color: #2C3354;
40+
41+
&__log-item {
42+
grid-template-columns: 34px auto;
43+
&:hover {
44+
background-color: rgba(255, 255, 255, 0.1);
45+
}
3646
}
37-
38-
}
39-
40-
&__log-item {
41-
grid-template-columns: 34px auto;
42-
&:hover {
43-
background-color: rgba(255, 255, 255, 0.1);
47+
48+
&__filters-border-bottom {
49+
border-bottom: 1px solid #2C3354;
4450
}
4551
}
46-
47-
&__filters-border-bottom {
48-
border-bottom: 1px solid #2C3354;
49-
}
5052
}

src/Shared/Components/CICDHistory/LogsRenderer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ export const LogsRenderer = ({
389389
if (areStagesAvailable) {
390390
return (
391391
<div
392-
className="flexbox-col pb-20"
392+
className="flexbox-col pb-20 logs-renderer-container"
393393
data-testid="check-logs-detail"
394394
style={{
395395
backgroundColor: '#0C1021',

0 commit comments

Comments
 (0)