Commit 96458911 authored by liziwl's avatar liziwl
Browse files

更新文字,优化宽度较小的时候的显示

parent 8033319f
Loading
Loading
Loading
Loading
+10 −6
Original line number Diff line number Diff line
@@ -465,13 +465,15 @@ export default {
.route-title-main {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.3rem;
  line-height: 1.2;
  display: inline;
}

.route-desc {
  font-size: 0.75rem;
  opacity: 0.7;
  display: inline;
  margin-left: 0.3rem;
}

.route-times {
@@ -553,12 +555,14 @@ export default {
    width: 100%;
    border-left: none;
    border-top: 4px solid #ccc; /* Move color to top */
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
  }
  .route-title-main { margin-bottom: 0; }
  .route-desc { text-align: right; }
  .route-title-main,
  .route-desc {
    display: inline;
  }
  .route-desc {
    margin-left: 0.3rem;
  }
}
</style>
 No newline at end of file
+4 −4
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
            "title": "1 路 / Line 1",
            "routes": [
                {
                    "name": "Line 1 CW",
                    "name": "1路 内环",
                    "description": "顺时针 / Clockwise (欣园 → 欣园)",
                    "type": "loop",
                    "color": "#FF901C",
@@ -27,7 +27,7 @@
            "title": "2 路 / Line 2",
            "routes": [
                {
                    "name": "Line 2 CCW",
                    "name": "2路 外环",
                    "description": "逆时针 / Counter-Clockwise (欣园 → 欣园)",
                    "type": "loop",
                    "color": "#F0608F",
@@ -175,7 +175,7 @@
            "title": "1 路 / Line 1",
            "routes": [
                {
                    "name": "Line 1 CW",
                    "name": "1路 内环",
                    "description": "顺时针 / Clockwise (欣园 → 欣园)",
                    "type": "loop",
                    "color": "#009966",
@@ -197,7 +197,7 @@
            "title": "2 路 / Line 2",
            "routes": [
                {
                    "name": "Line 2 CCW",
                    "name": "2路 外环",
                    "description": "逆时针 / Counter-Clockwise (欣园 → 欣园)",
                    "type": "loop",
                    "color": "#F0608F",