File tree Expand file tree Collapse file tree 5 files changed +19
-8
lines changed Expand file tree Collapse file tree 5 files changed +19
-8
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
- <div class =" relative mt-24 " >
2
+ <div class =" absolute right-[20px] top-24 " id = " toast " >
3
3
<div
4
4
class ="
5
5
absolute
11
11
rounded-md
12
12
shadow-md
13
13
z-2
14
+ w-72
14
15
"
15
16
v-bind:class =" {
16
17
'-translate-y-screen': !toastState.show,
Original file line number Diff line number Diff line change 1
1
<template >
2
- <header class =" fixed top-0 left-0 right-0 bg-white shadow-lg" >
2
+ <header class =" fixed top-0 left-0 right-0 bg-white shadow-lg z-100 " >
3
3
<div class =" container flex items-center h-full py-4 m-auto" >
4
4
<div v-if =" showBackButton" class =" mr-4" >
5
5
<NuxtLink to =" /" >
Original file line number Diff line number Diff line change 1
1
<template >
2
- <div class =" contents " >
2
+ <div class =" flow-root h-full " >
3
3
<Navbar show-back-button =" true" >
4
4
<template v-slot :right >
5
5
<button
48
48
</button >
49
49
</template >
50
50
</Navbar >
51
- <main class =" h-full xl:container" >
51
+ <main class =" h-full mt-24 xl:container" >
52
52
<div class =" flex gap-4 mt-5" >
53
53
<div
54
54
class =" relative flex-1 px-4 py-2 overflow-y-auto border-2 rounded-sm max-h-screen--nav line-numbers min-h-80"
Original file line number Diff line number Diff line change 1
1
<template >
2
- <div class =" contents " >
2
+ <div class =" flow-root h-full page-root " >
3
3
<Navbar />
4
- <main class =" flex flex-wrap h-full -mt-3 xl:container" >
5
- <p class =" w-full mb-2 text-xl text-center" >Compare any text for diff</p >
4
+ <main class =" flex flex-wrap h-full mt-20 xl:container" >
5
+ <h1 class =" w-full mb-2 text-xl text-center" >
6
+ Find difference in any two text blocks and get easy sharable link
7
+ </h1 >
8
+ <h2 class =" w-full mb-2 text-center text-md" >
9
+ Dont worry, We dont store any of your data
10
+ </h2 >
6
11
<form @submit =" checkForm" class =" w-full h-full" >
7
12
<div class =" flex flex-wrap w-full h-full gap-4" >
8
13
<textarea
@@ -105,3 +110,8 @@ export default Vue.extend({
105
110
},
106
111
})
107
112
</script >
113
+ <style >
114
+ .page-root {
115
+ max-height : calc (100% - 14rem );
116
+ }
117
+ </style >
Original file line number Diff line number Diff line change 8
8
}
9
9
html ,
10
10
body {
11
- height : calc ( 100% - 6 rem ) ;
11
+ height : 100% ;
12
12
}
13
13
#__nuxt ,
14
14
#__layout ,
You can’t perform that action at this time.
0 commit comments