Skip to content

Commit 4271700

Browse files
authored
Merge pull request #1602 from merico-dev/1598-styling-updates-about-mmqs-editor-ui
1598 styling updates about mmqs editor UI
2 parents 0d9e91e + 050ef24 commit 4271700

File tree

9 files changed

+10
-7
lines changed

9 files changed

+10
-7
lines changed

api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devtable/api",
3-
"version": "14.4.2",
3+
"version": "14.4.3",
44
"description": "",
55
"main": "index.js",
66
"scripts": {

dashboard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devtable/dashboard",
3-
"version": "14.4.2",
3+
"version": "14.4.3",
44
"license": "Apache-2.0",
55
"publishConfig": {
66
"access": "public",

dashboard/src/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/preview-query-and-vars/preview-query-and-vars.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ export const PreviewQueryAndVars = observer(({ queryModel }: Props) => {
1313
return (
1414
<Tabs
1515
defaultValue="看板变量预览"
16+
w="40%"
17+
maw="600px"
1618
styles={{
1719
root: {
1820
borderRadius: 4,

dashboard/src/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/query-tabs/edit-metric-query/dimension-selector/styles.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export const InputStyles = {
5555
},
5656
input: {
5757
paddingInlineStart: 'var(--input-padding-inline-start)',
58+
height: 'auto',
5859
color: 'black',
5960
fontFamily: 'monospace',
6061
},

dashboard/src/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/query-tabs/edit-metric-query/link-metrics-to-variables.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const LinkMetricsToVariables = observer(({ queryModel }: Props) => {
3535

3636
<Table withTableBorder withColumnBorders layout="fixed" styles={MetricTableStyles}>
3737
<colgroup>
38-
<col style={{ width: 250 }} />
38+
<col style={{ width: '49%' }} />
3939
<col />
4040
<col style={{ width: 130 }} />
4141
<col style={{ width: 40 }} />

dashboard/src/dashboard-editor/ui/settings/content/edit-query/merico-metric-query-editor-form/query-tabs/query-tabs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const QueryTabs = observer(({ queryModel }: Props) => {
3737
const [activeTab, setActiveTab] = useState<string | null>('编辑查询');
3838

3939
return (
40-
<Tabs color="red" defaultValue="编辑查询" styles={TabsStyles} value={activeTab} onChange={setActiveTab}>
40+
<Tabs color="red" defaultValue="编辑查询" styles={TabsStyles} value={activeTab} onChange={setActiveTab} w="60%">
4141
<Tabs.List>
4242
<Tabs.Tab value="编辑查询" size="xs">
4343
编辑查询

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devtable/root",
3-
"version": "14.4.2",
3+
"version": "14.4.3",
44
"private": true,
55
"workspaces": [
66
"api",

settings-form/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devtable/settings-form",
3-
"version": "14.4.2",
3+
"version": "14.4.3",
44
"license": "Apache-2.0",
55
"publishConfig": {
66
"access": "public",

website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@devtable/website",
33
"private": true,
44
"license": "Apache-2.0",
5-
"version": "14.4.2",
5+
"version": "14.4.3",
66
"scripts": {
77
"dev": "vite",
88
"preview": "vite preview"

0 commit comments

Comments
 (0)