yjryu / KERIS star
김하영 김하영 2023-12-04
231204김하영
@91ed28cfa953d31116fe6ca26d4a78de87f07b08
client/resources/css/Main.css
--- client/resources/css/Main.css
+++ client/resources/css/Main.css
@@ -844,8 +844,7 @@
   top: 50%;
   left: 50%;
   width: 400px;
-  max-height: 400px;
-  overflow-y: scroll ;
+  height: 400px;
   transform: translate(-50%, -50%);
   background: white;
   padding: 20px;
@@ -854,20 +853,25 @@
   z-index: 999;
 }
 
+.mat-scroll{
+  width: 100%;
+  max-height: 400px;
 
-/* 아래의 모든 코드는 영역::코드로 사용 */
-.matching-modal2::-webkit-scrollbar {
-    width: 10px;  /* 스크롤바의 너비 */
+  overflow-y: scroll ;
 }
 
-.matching-modal2::-webkit-scrollbar-thumb {
+/* 아래의 모든 코드는 영역::코드로 사용 */
+.mat-scroll::-webkit-scrollbar {
+    width: 10px;  /* 스크롤바의 너비 */
+}
+.mat-scroll::-webkit-scrollbar-thumb {
     height: 30%; /* 스크롤바의 길이 */
     background: #217af4; /* 스크롤바의 색상 */
     
     border-radius: 10px;
 }
 
-.matching-modal2::-webkit-scrollbar-track {
+.mat-scroll::-webkit-scrollbar-track {
     background: rgba(33, 122, 244, .1);  /*스크롤바 뒷 배경 색상*/
 }
 
client/views/pages/user/networking/MatchingOne.vue
--- client/views/pages/user/networking/MatchingOne.vue
+++ client/views/pages/user/networking/MatchingOne.vue
@@ -87,7 +87,8 @@
         <div class="mat-modal">
             <h2>우리기업을 PICK한 기업</h2>
         </div>
-        <table class="mat-modal-img">
+        <div class="mat-scroll">
+            <table class="mat-modal-img">
             <colgroup>
                 <col style="width: 30%;" />
                 <col style="width: 40%;" />
@@ -111,6 +112,8 @@
                 </tr>
             </tbody>
         </table>
+        </div>
+      
     </div>
 </template>
 
Add a comment
List