Commit 95199a50 authored by Administrator's avatar Administrator
Browse files

fixed layout centralization issue for Text to Mermaid.

parent 3f1a277c
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
"vite-plugin-vuetify": "^2.1.1", "vite-plugin-vuetify": "^2.1.1",
"vue": "^3.5.17", "vue": "^3.5.17",
"vue-router": "^4.5.1", "vue-router": "^4.5.1",
"vuetify": "^3.9.0-beta.1" "vuetify": "^3.9.2"
}, },
"devDependencies": { "devDependencies": {
"@vitejs/plugin-vue": "^6.0.0", "@vitejs/plugin-vue": "^6.0.0",
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
"vite-plugin-vuetify": "^2.1.1", "vite-plugin-vuetify": "^2.1.1",
"vue": "^3.5.17", "vue": "^3.5.17",
"vue-router": "^4.5.1", "vue-router": "^4.5.1",
"vuetify": "^3.9.0-beta.1" "vuetify": "^3.9.2"
}, },
"devDependencies": { "devDependencies": {
"@vitejs/plugin-vue": "^6.0.0", "@vitejs/plugin-vue": "^6.0.0",
......
...@@ -13,8 +13,8 @@ import Sidebar from './components/Sidebar.vue' ...@@ -13,8 +13,8 @@ import Sidebar from './components/Sidebar.vue'
<style> <style>
#app { #app {
min-height: 100vh; /* min-height: 100vh; */
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
padding: 0; padding: 0;
display: flex; display: flex;
} }
......
...@@ -523,21 +523,20 @@ ...@@ -523,21 +523,20 @@
<style scoped> <style scoped>
.text-to-mermaid { .text-to-mermaid {
max-width: 2400px; /* max-width: 2400px; */
width: 100%; display: grid;
margin: 0; grid-template-rows: 1fr;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
margin: 10px;
padding: 0; padding: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
} }
.converter-container { .converter-container {
display: grid; display: grid;
grid-template-columns: 1fr 1.5fr; grid-template-columns: 1fr 1.5fr;
grid-template-rows: 1fr;
gap: 40px; gap: 40px;
/* margin-bottom: 30px; */ margin: 40px;
/* justify-content: start; */
/* max-width: 1200px; */
/* margin-left: 0; */
margin-top: 24px;
} }
.input-section, .output-section { .input-section, .output-section {
background: #f8f9fa; background: #f8f9fa;
...@@ -546,7 +545,7 @@ ...@@ -546,7 +545,7 @@
border: 1px solid #e9ecef; border: 1px solid #e9ecef;
} }
.output-section { .output-section {
background: #f8f9fa; /* background: #f8f9fa; */
padding: 20px; padding: 20px;
border-radius: 8px; border-radius: 8px;
border: 1px solid #e9ecef; border: 1px solid #e9ecef;
...@@ -554,8 +553,7 @@ ...@@ -554,8 +553,7 @@
} }
.text-input { .text-input {
width: 100%; width: 100%;
min-width: 400px; /* Increased minimum width */ max-width: 100%; /* Increased maximum width */
max-width: 1200px; /* Increased maximum width */
padding: 12px; padding: 12px;
border: 1px solid #ced4da; border: 1px solid #ced4da;
border-radius: 4px; border-radius: 4px;
...@@ -649,7 +647,6 @@ ...@@ -649,7 +647,6 @@
padding: 15px 32px; /* Increased right/left padding */ padding: 15px 32px; /* Increased right/left padding */
background: #e9ecef; background: #e9ecef;
border-bottom: 1px solid #dee2e6; border-bottom: 1px solid #dee2e6;
min-width: 480px; /* Ensure enough width for controls */
max-width: 100%; max-width: 100%;
overflow-x: auto; overflow-x: auto;
} }
...@@ -1304,7 +1301,6 @@ ...@@ -1304,7 +1301,6 @@
} }
} */ } */
.page-title { .page-title {
margin-bottom: 32px; /* Adds space below the heading */
font-size: 2.4rem; /* Larger, more prominent */ font-size: 2.4rem; /* Larger, more prominent */
font-weight: 700; /* Bold */ font-weight: 700; /* Bold */
letter-spacing: 1px; letter-spacing: 1px;
......
...@@ -59,7 +59,7 @@ button:focus-visible { ...@@ -59,7 +59,7 @@ button:focus-visible {
} }
#app { #app {
max-width: 1280px; /* max-width: 1280px; */
margin: 0 auto; margin: 0 auto;
padding: 2rem; padding: 2rem;
text-align: center; text-align: center;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment