File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change 55 <img class =" h-36" src =" ../../assets/loading.svg" >
66 </div >
77 <section v-if =" fetchingDone" class =" mx-auto relative md:flex md:items-start md:justify-center" >
8- <div class =" md:w-full md:max-w-xs md:shadow-md md:rounded-md md:p-8 md:flex md:flex-col md:justify-start" >
8+ <div class =" sideBar md:w-full md:max-w-xs md:shadow-md md:rounded-md md:p-8 md:flex md:flex-col md:justify-start" >
99 <div class =" mt-8 sm:mt-0" >
1010 <div v-if =" matches.length" >
1111 <h1 class =" text-xl md:text-base text-gray-matcha font-bold" >Matches</h1 >
2626 <div class =" mt-8" >
2727 <div v-if =" messages.length" >
2828 <h1 class =" text-xl md:text-base text-gray-matcha text-left font-bold" >Messages</h1 >
29- <div class =" overflow-scroll md:h-64 mt-4" >
29+ <div class =" overflow-scroll messageBox mt-4" >
3030 <Message v-on:chat =" chat" v-for =" message in messages" :key =" message.with_user.id" v-bind:message =" message" ></Message >
3131 </div >
3232 </div >
@@ -221,3 +221,17 @@ export default {
221221 },
222222};
223223 </script >
224+
225+ <style scoped>
226+ @screen md {
227+ .sideBar {
228+ max-height : 85vh ;
229+ }
230+ }
231+
232+ @screen md {
233+ .messageBox {
234+ max-height : 32rem ;
235+ }
236+ }
237+ </style >
You can’t perform that action at this time.
0 commit comments