yanghao 1 settimana fa
parent
commit
e025f47828
1 ha cambiato i file con 19 aggiunte e 1 eliminazioni
  1. 19 1
      src/views/index.vue

+ 19 - 1
src/views/index.vue

@@ -1417,9 +1417,13 @@ onUnmounted(() => {
 .platform-block__header {
   display: flex;
   align-items: center;
-  justify-content: space-between;
+  justify-content: flex-start;
+  flex: 0 0 260px;
+  width: 260px;
+  min-width: 260px;
   min-height: 48px;
   padding: 0 22px 0 24px;
+  box-sizing: border-box;
   background: linear-gradient(
     90deg,
     rgba(44, 70, 154, 0.5),
@@ -1433,6 +1437,7 @@ onUnmounted(() => {
   align-items: baseline;
   gap: 18px;
   min-width: 0;
+  flex: 1;
 }
 
 .platform-block__title {
@@ -1525,6 +1530,11 @@ onUnmounted(() => {
   color: #b8b9be;
 }
 
+.platform-block > .grid {
+  flex: 1;
+  align-content: start;
+}
+
 .portal-mobile-shortcuts {
   display: grid;
   grid-template-columns: repeat(3, minmax(0, 1fr));
@@ -1757,8 +1767,16 @@ onUnmounted(() => {
 }
 
 @media (max-width: 767px) {
+  .platform-block {
+    display: block;
+  }
+
   .platform-block__header {
+    width: 100%;
+    min-width: 0;
     padding: 0 16px 0 18px;
+    flex: none;
+    justify-content: flex-start;
   }
 
   .platform-block__title-wrap {