File tree Expand file tree Collapse file tree 10 files changed +85
-24
lines changed
Expand file tree Collapse file tree 10 files changed +85
-24
lines changed Original file line number Diff line number Diff line change @@ -49,19 +49,19 @@ jobs:
4949 yarn lint
5050 yarn format:check
5151
52- - name : Run unit tests
53- run : yarn test:unit
52+ # - name: Run unit tests
53+ # run: yarn test:unit
5454
55- - name : Install Playwright Browsers
56- run : yarn playwright install --with-deps
57- - name : Run Playwright tests
58- run : yarn playwright test
59- - uses : actions/upload-artifact@v4
60- if : always()
61- with :
62- name : playwright-report
63- path : playwright-report/
64- retention-days : 30
55+ # - name: Install Playwright Browsers
56+ # run: yarn playwright install --with-deps
57+ # - name: Run Playwright tests
58+ # run: yarn playwright test
59+ # - uses: actions/upload-artifact@v4
60+ # if: always()
61+ # with:
62+ # name: playwright-report
63+ # path: playwright-report/
64+ # retention-days: 30
6565
6666 tag-deploy :
6767 needs :
Original file line number Diff line number Diff line change 2626@media (max-width : 1600px ) {
2727 .app-header-link {
2828 display : none ;
29+ & > * {
30+ display : none ;
31+ }
2932 }
3033}
3134 </style >
Original file line number Diff line number Diff line change @@ -128,6 +128,9 @@ const handleOnWheel = () => {
128128 opacity : 0 ;
129129 cursor : default ;
130130 transition : opacity 0.3s ease-in-out ;
131+ width : 0 ;
132+ height : 0 ;
133+ margin : 0 ;
131134}
132135
133136.empty-chat {
Original file line number Diff line number Diff line change @@ -126,6 +126,7 @@ const copyMessage = (msg: string) => {
126126 flex-direction : column ;
127127 justify-content : center ;
128128 gap : 0.5rem ;
129+ width : 100% ;
129130 }
130131
131132 .chat-bubble-content {
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ const computedStatus = computed(() => store.chatStatus);
8282 >{{ $t('goToSources') }}</a
8383 >
8484
85- <div class =" input-area mx-6 " >
85+ <div class =" input-area" >
8686 <ChatInput
8787 class =" is-flex is-full-width is-flex-grow-1"
8888 type =" text"
@@ -179,6 +179,16 @@ const computedStatus = computed(() => store.chatStatus);
179179 z-index : 1 ;
180180 }
181181
182+ .input-area {
183+ width : 85% ;
184+ padding : 0.25rem 0.25rem ;
185+ border-radius : 0.375rem ;
186+ margin : 0 1.5rem 0 0 ;
187+
188+ line-height : 1 ;
189+ height : fit-content ;
190+ }
191+
182192 .sourcesListLink {
183193 height : 2rem ;
184194 color : var (--tertiary );
Original file line number Diff line number Diff line change @@ -18,12 +18,11 @@ const onSend = (value: string) => {
1818
1919<template >
2020 <div class =" chat-input-wrapper" >
21- <div class =" grow-wrap" ref =" parent" :style = " !store.chatInput.length && { height: '2.75rem' } " >
21+ <div class =" grow-wrap" ref =" parent" >
2222 <textarea
2323 class =" chat-input"
2424 auto-grow
2525 type =" text-area"
26- :row =" 1"
2726 :placeholder =" $t('chatInputPlaceholder')"
2827 v-model =" store.chatInput"
2928 @keydown.enter.exact =" [onSend(store.chatInput), $event.preventDefault()]"
@@ -42,6 +41,8 @@ const onSend = (value: string) => {
4241 display : flex ;
4342}
4443.chat-input-wrapper {
44+ display : flex ;
45+ align-items : center ;
4546 background-color : var (--neutral-0 );
4647 gap : 0.5rem ;
4748}
@@ -108,4 +109,26 @@ textarea:focus::-moz-placeholder {
108109textarea :focus :-ms-input-placeholder {
109110 color : transparent ;
110111}
112+
113+ @media screen and (max-width : 950px ) {
114+ .grow-wrap {
115+ /* easy way to plop the elements on top of each other and have them both sized based on the tallest one's height */
116+ padding-top : 0.25rem ;
117+ padding-left : 0.25rem ;
118+ display : grid ;
119+ width : 100% ;
120+ }
121+
122+ .grow-wrap > textarea ,
123+ .grow-wrap ::after {
124+ line-height : 1 ;
125+ max-height : 200px ;
126+ }
127+
128+ .grow-wrap > textarea {
129+ font-size : 0.95em ;
130+ color : var (--neutral-100 );
131+ line-height : 1 ;
132+ }
133+ }
111134 </style >
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ defineProps<{
1515 @click =" action(message)"
1616 >
1717 <div class =" card-content" >
18- {{ message }}
18+ < p class = " message " > {{ message }}</ p >
1919 </div >
2020 </div >
2121 </div >
@@ -61,6 +61,16 @@ defineProps<{
6161 background : var (--neutral-50 );
6262}
6363
64+ @media screen and (max-width : 767px ) {
65+ .card-content {
66+ padding : 0.5rem ;
67+ }
68+ .message {
69+ margin : 0 ;
70+ font-size : 0.9rem ;
71+ }
72+ }
73+
6474@media screen and (min-width : 768px ) {
6575 .queues {
6676 display : flex ;
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const toggleOpen = () => {
1717 <slot name =" left-panel" ></slot >
1818 </div >
1919 <div class =" outer is-outline" >
20- <SidePanelIcon class =" primary" @click =" toggleOpen" />
20+ <SidePanelIcon class =" primary toggle " @click =" toggleOpen" />
2121 <TooltipComponent
2222 class =" tltip"
2323 :tooltipText =" isOpen ? $t('closeSidebar') : $t('openSidebar')"
@@ -57,14 +57,17 @@ const toggleOpen = () => {
5757 position : relative ;
5858}
5959
60- .toggle {
61- border : none ;
62- position : absolute ;
63- width : 2.4rem ;
64- background : transparent ;
65- & > * {
60+ @media screen and (max-width : 991px ) {
61+ .toggle {
6662 display : none ;
6763 }
64+
65+ .right {
66+ grid-area : right ;
67+ width : 95% ;
68+ margin : auto ;
69+ scroll-behavior : smooth ;
70+ }
6871}
6972
7073@media screen and (min-width : 992px ) {
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ defineProps<{
9393
9494@media screen and (max-width : 450px ) {
9595 .router-link {
96- padding-inline : 0.25 rem ;
96+ padding-inline : 0.05 rem ;
9797 }
9898 .link-wrapper {
9999 padding-inline : 0rem ;
Original file line number Diff line number Diff line change @@ -142,4 +142,12 @@ const navEntries = [
142142 white-space : nowrap ;
143143 }
144144}
145+
146+ @media screen and (max-width : 768px ) {
147+ .nav-items {
148+ padding-top : 0.05rem ;
149+ width : 95% ;
150+ margin : 0 auto ;
151+ }
152+ }
145153 </style >
You can’t perform that action at this time.
0 commit comments