Skip to content

Commit

Permalink
fix(web): fix wrap of log amended (labring#1645)
Browse files Browse the repository at this point in the history
  • Loading branch information
0fatal authored Nov 3, 2023
1 parent 411ada2 commit f78a053
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions web/src/pages/app/mods/StatusBar/LogsModal/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@
background: #daf4f2 !important;
}

[data-theme="dark"] .pf-v5-c-text-input-group__text-input:focus {
[data-theme="dark"] & .pf-v5-c-text-input-group__text-input:focus {
outline: none !important;
color: #fff;
}

[data-theme="dark"] .pf-m-current {
[data-theme="dark"] & .pf-m-current {
background: #47c8bf !important;
}

[data-theme="dark"] .pf-m-match {
[data-theme="dark"] & .pf-m-match {
background: #2b7873 !important;
}
}
2 changes: 1 addition & 1 deletion web/src/pages/app/mods/StatusBar/LogsModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default function LogsModal(props: { children: React.ReactElement }) {
)
.join("\n");

setLogs((pre) => pre + logStr);
setLogs((pre) => pre + logStr + "\n");
},
});
return controller;
Expand Down

0 comments on commit f78a053

Please sign in to comment.