人生啊人生 1 hónapja
szülő
commit
c655972a68
1 módosított fájl, 5 hozzáadás és 3 törlés
  1. 5 3
      src/view/student/trainChapter/trainTheory.vue

+ 5 - 3
src/view/student/trainChapter/trainTheory.vue

@@ -39,6 +39,8 @@ onMounted(() => {
 <style lang="scss" scoped>
 @use "./css/commonsScrollbarNew.scss";
 
+$proportion : 1.3;
+
 .trainTheory {
     position: fixed;
     top: 0px;
@@ -55,9 +57,9 @@ onMounted(() => {
 
     .content {
         position: absolute;
-        top: 12.42rem;
-        left: 19.85rem;
-        right: 19.85rem;
+        top: 10rem;
+        left: 19.85rem * $proportion;
+        right: 19.85rem * $proportion;
         bottom: 0px;
         
         .contentLeft, .contentRight {