Skip to content

Commit d2d7702

Browse files
committed
reafctor:removed numbering from logs screen
1 parent 5cf48d5 commit d2d7702

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

ui/src/components/LogScreen/MigrationLogViewer.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,9 +297,8 @@ const MigrationLogViewer = ({ serverPath }: LogsType) => {
297297
) : (
298298
<div
299299
style={logStyles[level || ''] || logStyles.info}
300-
className="log-entry logs-bg"
300+
className="log-entry"
301301
>
302-
<div className="log-number">{index}</div>
303302
<div className="log-time">
304303
{timestamp
305304
? new Date(timestamp)?.toTimeString()?.split(' ')[0]

ui/src/components/LogScreen/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
font-family: 'IBM Plex Mono', monospace;
4646
font-size: $size-font-large;
4747
font-weight: $font-weight-medium;
48-
padding: 30px 20px;
48+
padding: 5px 0;
4949
position: relative;
5050

5151
&.logs-bg {

ui/src/components/LogScreen/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,9 +298,8 @@ const TestMigrationLogViewer = ({ serverPath, sendDataToParent, projectId }: Log
298298
) : (
299299
<div
300300
style={logStyles[level || ''] || logStyles.info}
301-
className="log-entry logs-bg"
301+
className="log-entry"
302302
>
303-
<div className="log-number">{index}</div>
304303
<div className="log-time">
305304
{timestamp
306305
? new Date(timestamp)?.toTimeString()?.split(' ')[0]

0 commit comments

Comments
 (0)