File tree Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 2
2
<div class =" h-full" >
3
3
<main class =" container h-full mx-auto mt-24" >
4
4
<div class =" flex gap-4 mt-5" >
5
- <div class =" flex-1 max-h-full p-4 border-2 rounded-sm" >
5
+ <div
6
+ class =" flex-1 p-4 overflow-y-auto border-2 rounded-sm max-h-screen--nav"
7
+ >
6
8
<p v-for =" (lineDiff, index) in lhsDiff" :key =" index" >
7
9
<span v-html =" lineDiff" ></span >
8
10
</p >
9
11
</div >
10
- <div class =" flex-1 max-h-full p-4 border-2 rounded-sm" >
12
+ <div
13
+ class =" flex-1 p-4 overflow-y-auto border-2 rounded-sm max-h-screen--nav"
14
+ >
11
15
<p v-for =" (lineDiff, index) in rhsDiff" :key =" index" >
12
16
<span v-html =" lineDiff" ></span >
13
17
</p >
Original file line number Diff line number Diff line change 5
5
<div class =" flex flex-wrap w-full h-full gap-4" >
6
6
<textarea
7
7
id =" lhs"
8
- class =" flex-1 h-full rounded-md resize-none form-textarea"
8
+ class =" flex-1 h-full max-h-full rounded-md resize-none form-textarea"
9
9
></textarea >
10
10
<textarea
11
11
id =" rhs"
12
- class =" flex-1 h-full rounded-md resize-none form-textarea"
12
+ class =" flex-1 h-full max-h-full rounded-md resize-none form-textarea"
13
13
></textarea >
14
14
<div class =" self-end w-full text-center" >
15
15
<button
Original file line number Diff line number Diff line change 1
1
module . exports = {
2
2
mode : 'jit' ,
3
+ theme : {
4
+ maxHeight : {
5
+ 'screen--nav' : 'calc(100vh - 7rem)' ,
6
+ }
7
+ } ,
3
8
plugins : [
4
9
require ( '@tailwindcss/forms' ) ,
5
10
]
You can’t perform that action at this time.
0 commit comments