Skip to content

Commit

Permalink
refactor(ui): adjust font size of insight homepage (#391)
Browse files Browse the repository at this point in the history
## What type of PR is this?
/kind refactor

## What this PR does / why we need it:

adjust font size of insight homepage

## Which issue(s) this PR fixes:

<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
_If PR is about `failing-tests or flakes`, please post the related
issues/tests in a comment and do not use `Fixes`_*
-->

Fixes #
  • Loading branch information
elliotxx authored Apr 25, 2024
1 parent 4333cde commit ccd6abf
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 63 deletions.
56 changes: 0 additions & 56 deletions ui/src/components/searchInput/index.tsx

This file was deleted.

2 changes: 2 additions & 0 deletions ui/src/pages/cluster/styles.module.less
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
}
}



.content {
.stat {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion ui/src/pages/insight/components/card/styles.module.less
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
height: 50px;
font-size: 24px;
color: #fff;
background: #1677ff;
background: #6D87F1;
border-radius: 50%;
justify-content: center;
align-items: center;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
box-sizing: border-box;

.top {
font-size: 18px;
font-weight: 400;
color: rgb(0 0 0 / 89%);
}
Expand All @@ -30,12 +29,13 @@
position: absolute;
right: 20px;
bottom: 15px;
font-size: 36px;
font-size: 24px;
color: rgb(0 10 26 / 89%);

.num {
font-weight: 700;
font-weight: 500;
}
}
}

}
3 changes: 1 addition & 2 deletions ui/src/pages/result/styles.module.less
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
width: 100%;
padding: 16px 24px;
margin: 10px 0;
font-size: 18px;
background: #fff;
border-radius: 8px;
box-sizing: border-box;
Expand Down Expand Up @@ -98,7 +97,7 @@
display: inline-block;
padding: 2px 5px;
font-size: 11px;
font-weight: 700;
font-weight: 500;
color: #5084ee;
text-align: center;
background-color: #f0f2f5;
Expand Down
2 changes: 1 addition & 1 deletion ui/src/utils/request.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import axios from 'axios'
import { message } from 'antd'

export const HOST = 'https://karbour.elastic.svc.eu95.alipay.net:7443'
export const HOST = ''
axios.defaults.baseURL = HOST

axios.interceptors.request.use(
Expand Down

0 comments on commit ccd6abf

Please sign in to comment.