-
Notifications
You must be signed in to change notification settings - Fork 2.9k
style: Optimize layout style #7352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -206,10 +206,11 @@ | |
| show-overflow-tooltip | ||
| /> | ||
| <fu-table-operations | ||
| width="370px" | ||
| :ellipsis="mobile ? 0 : 10" | ||
| :min-width="mobile ? 'auto' : 300" | ||
| :buttons="buttons" | ||
| :ellipsis="10" | ||
| :label="$t('commons.table.operate')" | ||
| fixed="right" | ||
| fix | ||
| /> | ||
| </ComplexTable> | ||
|
|
@@ -291,7 +292,7 @@ import UploadDialog from '@/components/upload/index.vue'; | |
| import PortJumpDialog from '@/components/port-jump/index.vue'; | ||
| import { dateFormat } from '@/utils/util'; | ||
| import { ElMessageBox } from 'element-plus'; | ||
| import { onMounted, reactive, ref } from 'vue'; | ||
| import { computed, onMounted, reactive, ref } from 'vue'; | ||
| import { | ||
| deleteCheckMysqlDB, | ||
| listDatabases, | ||
|
|
@@ -371,6 +372,10 @@ const onChangeConn = async () => { | |
| }); | ||
| }; | ||
|
|
||
| const mobile = computed(() => { | ||
| return globalStore.isMobile(); | ||
| }); | ||
|
|
||
| const goRemoteDB = async () => { | ||
| if (currentDB.value) { | ||
| globalStore.setCurrentDB(currentDB.value.database); | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The modifications introduced in this patch include:
These changes seem generally appropriate and should improve the responsiveness of the application's UI for both desktop and mobile views while also enhancing usability through better dynamic sizing adjustments. However, without more context about what other parts of the application rely on these modifications, it would be beneficial to conduct additional testing on different devices and screen sizes to ensure all functionalities work seamlessly. |
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are several minor formatting and typo corrections needed in the CSS code. Here's an updated version with suggestions:
Changes Made:
These changes ensure proper syntax in the CSS, improving readability and functionality.