Skip to content

Commit

Permalink
fix(web): fix inner html with LogViewer (#1636)
Browse files Browse the repository at this point in the history
* fix(web): fix inner html with LogViewer
  • Loading branch information
newfish-cmyk authored Nov 2, 2023
1 parent fa726a1 commit 46bcf42
Show file tree
Hide file tree
Showing 14 changed files with 329 additions and 107 deletions.
198 changes: 192 additions & 6 deletions web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"@chakra-ui/react": "^2.6.1",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@patternfly/react-log-viewer": "^5.0.0",
"@sentry/integrations": "^7.73.0",
"@sentry/react": "^7.73.0",
"@tanstack/react-query": "^4.29.7",
Expand Down
29 changes: 17 additions & 12 deletions web/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@ body {
background-position: center !important;
font-variant-numeric: lining-nums;
font-size: 12px;
font-family: -apple-system, BlinkMacSystemFont,
"PingFang SC", "Segoe UI", Helvetica, Arial,
"PingFang SC", 'Noto Sans SC', sans-serif !important;
font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", Helvetica, Arial,
"PingFang SC", "Noto Sans SC", sans-serif !important;
}

[data-theme="light"] body {
Expand Down Expand Up @@ -76,19 +75,25 @@ a {
}

@font-face {
font-family: 'Noto Sans SC';
font-family: "Noto Sans SC";
font-display: swap;
font-weight: 400;
src: url('//lib.baomitu.com/fonts/noto-sans-sc/noto-sans-sc-regular.eot'), /* IE9 Compat Modes */
url('//lib.baomitu.com/fonts/noto-sans-sc/noto-sans-sc-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('//lib.baomitu.com/fonts/noto-sans-sc/noto-sans-sc-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('//lib.baomitu.com/fonts/noto-sans-sc/noto-sans-sc-regular.woff') format('woff'), /* Modern Browsers */
url('//lib.baomitu.com/fonts/noto-sans-sc/noto-sans-sc-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('//lib.baomitu.com/fonts/noto-sans-sc/noto-sans-sc-regular.svg#NotoSans SC') format('svg'); /* Legacy iOS */
src: url("//lib.baomitu.com/fonts/noto-sans-sc/noto-sans-sc-regular.eot"),
/* IE9 Compat Modes */
url("//lib.baomitu.com/fonts/noto-sans-sc/noto-sans-sc-regular.eot?#iefix")
format("embedded-opentype"),
/* IE6-IE8 */ url("//lib.baomitu.com/fonts/noto-sans-sc/noto-sans-sc-regular.woff2")
format("woff2"),
/* Super Modern Browsers */
url("//lib.baomitu.com/fonts/noto-sans-sc/noto-sans-sc-regular.woff") format("woff"),
/* Modern Browsers */ url("//lib.baomitu.com/fonts/noto-sans-sc/noto-sans-sc-regular.ttf")
format("truetype"),
/* Safari, Android, iOS */
url("//lib.baomitu.com/fonts/noto-sans-sc/noto-sans-sc-regular.svg#NotoSans SC") format("svg"); /* Legacy iOS */
}

@font-face {
font-family: 'Noto Sans SC';
font-family: "Noto Sans SC";
font-weight: 500 600;
src: url('/fonts/NotoSansSC-Medium.ttf');
src: url("/fonts/NotoSansSC-Medium.ttf");
}
4 changes: 2 additions & 2 deletions web/src/components/DateRangePicker/index.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.rdp-day_selected {
background-color: #00A9A6 !important;
background-color: #00a9a6 !important;
color: white !important;
}
}
6 changes: 2 additions & 4 deletions web/src/components/IconText/index.module.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
.iconText {

color: #7B838B;
color: #7b838b;

svg {
fill: #7B838B !important;
fill: #7b838b !important;
}


&:hover {
color: var(--chakra-colors-grayModern-600);
svg {
Expand Down
Loading

0 comments on commit 46bcf42

Please sign in to comment.