adjust style

This commit is contained in:
AceDataCloud committed 2024-01-01 14:34:15 +08:00
1 parent a0adfb4db4
commit 51dc05a655
9 files changed
+9 -15

No files matched your search

+1 -2
View File
@@ -61,7 +61,7 @@ export default defineComponent({
links: [
{
route: {
name: ROUTE_CHAT_INDEX
name: ROUTE_CHAT_CONVERSATION_NEW
},
displayName: this.$t('common.nav.chat'),
icon: 'fa-regular fa-comment',
@@ -82,7 +82,6 @@ export default defineComponent({
},
methods: {
onLogout() {
console.debug('logout');
this.$store.dispatch('common/resetToken');
this.$router.push({ name: ROUTE_AUTH_LOGIN });
},
+1 -1
View File
@@ -93,7 +93,7 @@ export default defineComponent({
</script>
<style lang="scss" scoped>
$width: 250px;
$width: 300px;
$padding-left: 10px;
.side-panel {
padding-left: $padding-left;
+1
View File
@@ -50,6 +50,7 @@ export default defineComponent({
.main {
height: 100%;
flex: 1;
width: calc(100% - 60px);
width: 100%;
height: 100%;
display: flex;
+1 -1
View File
@@ -30,11 +30,11 @@ export default defineComponent({
.left {
width: 60px;
height: 100%;
// background-color: aqua;
border-right: 1px solid var(--el-border-color);
}
.main {
height: 100%;
width: calc(100% - 60px);
flex: 1;
}
}
-1
View File
@@ -120,7 +120,6 @@ export default defineComponent({
},
methods: {
async onDraft(question: string) {
console.log('onDraft', question);
this.question = question;
this.onSubmit();
},
+1 -6
View File
@@ -74,14 +74,9 @@ export default defineComponent({
color: #333;
}
.el-card {
min-height: 500px;
padding-top: 50px;
}
.panel {
padding: 30px;
width: calc(100% - 250px);
width: calc(100% - 300px);
.credential {
.copy {
cursor: pointer;
+1 -1
View File
@@ -219,7 +219,7 @@ export default defineComponent({
<style lang="scss" scoped>
.panel {
padding: 30px;
width: calc(100% - 250px);
width: calc(100% - 300px);
.title {
font-size: 26px;
font-weight: bold;
+1 -1
View File
@@ -251,7 +251,7 @@ export default defineComponent({
<style lang="scss" scoped>
.panel {
padding: 30px;
width: calc(100% - 250px);
width: calc(100% - 300px);
.title {
font-size: 26px;
+2 -2
View File
@@ -129,7 +129,7 @@ export default defineComponent({
loading: false,
total: undefined,
// dynamic calculate the limit according to window height
limit: Math.floor((window.innerHeight - 200) / 50)
limit: Math.floor((window.innerHeight - 300) / 50)
};
},
computed: {
@@ -184,7 +184,7 @@ export default defineComponent({
<style lang="scss" scoped>
.panel {
padding: 30px;
width: calc(100% - 250px);
width: calc(100% - 300px);
.title {
font-size: 26px;
font-weight: bold;