Skip to content

Commit

Permalink
chore: undo prettier version 3 formatting style
Browse files Browse the repository at this point in the history
  • Loading branch information
gene9831 committed Jan 14, 2025
1 parent a11ca2c commit 03a849b
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 64 deletions.
4 changes: 1 addition & 3 deletions packages/common/component/MetaCodeEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -380,9 +380,7 @@ export default {
}
code {
font-family:
Microsoft YaHei,
Microsoft YaHei-Normal;
font-family: Microsoft YaHei, Microsoft YaHei-Normal;
color: var(--te-common-text-weaken);
}
}
Expand Down
14 changes: 2 additions & 12 deletions packages/common/component/PluginPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,18 +84,8 @@ export default {
align-items: center;
font-size: 12px;
font-weight: var(--ti-lowcode-plugin-panel-title-font-weight);
font-family:
Inter,
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
Roboto,
Oxygen,
Ubuntu,
Cantarell,
'Open Sans',
'Helvetica Neue',
sans-serif;
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
'Helvetica Neue', sans-serif;
padding: 12px;
color: var(--ti-lowcode-plugin-panel-title-color);
font-weight: var(--ti-lowcode-plugin-panel-title-font-weight);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,7 @@ export default {
border-radius: 10px;
box-sizing: border-box;
background-color: var(--te-common-bg-switch);
transition:
border-color 0.3s,
background-color 0.3s;
transition: border-color 0.3s, background-color 0.3s;
vertical-align: middle;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,7 @@ export default {
border-radius: 10px;
box-sizing: border-box;
background-color: var(--te-common-bg-switch);
transition:
border-color 0.3s,
background-color 0.3s;
transition: border-color 0.3s, background-color 0.3s;
vertical-align: middle;
}
Expand Down
4 changes: 1 addition & 3 deletions packages/plugins/datasource/src/DataSourceList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,7 @@ export default {
border-top: 1px solid var(--ti-lowcode-datasource-border-color);
}
.datasource-list-item {
box-shadow:
var(--ti-lowcode-datasource-tabs-border-color) 0,
-1px;
box-shadow: var(--ti-lowcode-datasource-tabs-border-color) 0, -1px;
height: 24px;
line-height: 24px;
align-items: center;
Expand Down
4 changes: 2 additions & 2 deletions packages/plugins/robot/src/Main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@
item.role === 'user'
? 'chat-content-user'
: connectedFailed
? 'chat-content-ai-unconnected'
: 'chat-content-ai'
? 'chat-content-ai-unconnected'
: 'chat-content-ai'
]"
>
<span>{{ item.content }}</span>
Expand Down
14 changes: 2 additions & 12 deletions packages/plugins/state/src/Main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -423,18 +423,8 @@ export default {
.title {
padding: 10px;
font-family:
Inter,
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
Roboto,
Oxygen,
Ubuntu,
Cantarell,
'Open Sans',
'Helvetica Neue',
sans-serif;
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
'Helvetica Neue', sans-serif;
color: var(--ti-lowcode-plugin-panel-title-color);
font-weight: var(--ti-lowcode-plugin-panel-title-font-weight);
border-bottom: 1px solid var(--ti-lowcode-data-header-border-bottom-color);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -444,22 +444,8 @@ export default {
border-bottom: 1px solid var(--te-common-border-divider);
pointer-events: all;
font-size: 11px;
font-family:
Inter,
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
Roboto,
Oxygen-Sans,
Ubuntu,
Cantarell,
'Helvetica Neue',
Helvetica,
Arial,
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol',
sans-serif;
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell,
'Helvetica Neue', Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
line-height: 16px;
font-weight: 400;
cursor: default;
Expand Down
4 changes: 2 additions & 2 deletions packages/settings/styles/src/components/inputs/ModalMask.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ export default {
return modal.top < modalContent.offsetHeight
? 40
: modal.top > parseInt(innnerHeight) - 400
? modal.top - 364
: modal.top - modalContent.offsetHeight + 40
? modal.top - 364
: modal.top - modalContent.offsetHeight + 40
}
return modal.top - 34
}
Expand Down
11 changes: 4 additions & 7 deletions packages/toolbars/save/src/Main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,10 @@ export default {
}
const saveSetTimeout = () => {
clearTimeout(state.preservationTime)
state.preservationTime = setTimeout(
() => {
openApi()
saveSetTimeout()
},
state.timeValue * 60 * 1000
)
state.preservationTime = setTimeout(() => {
openApi()
saveSetTimeout()
}, state.timeValue * 60 * 1000)
}
const saveConfig = () => {
setAutoSaveStatus(state.checked)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down

0 comments on commit 03a849b

Please sign in to comment.