9bd06b47 by Administrator

Merge branch '31256_disclaimer' into 'master'

31256_disclaimer

See merge request !107
2 parents f6f9791e ecfb0bd8
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
40 background-color:#343541; 40 background-color:#343541;
41 position:relative; 41 position:relative;
42 overflow-y:scroll; 42 overflow-y:scroll;
43 padding-bottom:95px; 43 padding-bottom:103px;
44 } 44 }
45 45
46 .App-logo { 46 .App-logo {
...@@ -72,6 +72,47 @@ ...@@ -72,6 +72,47 @@
72 box-shadow: 0 0 8px 0 rgba(0,0,0,0.25); 72 box-shadow: 0 0 8px 0 rgba(0,0,0,0.25);
73 } 73 }
74 74
75 #openai_disclaimer {
76 display: block;
77 margin-top: 10px;
78 text-align: center;
79 }
80
81 #openai_disclaimer a {
82 color: rgba(255,255,255,0.5);
83 font-size: 12px;
84 }
85
86 #openai_disclaimer a br {
87 display: none;
88 }
89
90 @media screen and (max-width: 720px) {
91 div.suggested,
92 div.chat-log {
93 bottom: 122px;
94 }
95 section.chatbox {
96 padding-bottom: 122px;
97 }
98 #openai_disclaimer a br {
99 display: inline-block;
100 }
101 }
102
103 @media screen and (max-width: 640px) {
104 div.suggested,
105 div.chat-log {
106 bottom: 75px;
107 }
108 section.chatbox {
109 padding-bottom: 75px;
110 }
111 #openai_disclaimer {
112 display: none;
113 }
114 }
115
75 .App-header { 116 .App-header {
76 background-color: #282c34; 117 background-color: #282c34;
77 min-height: 100vh; 118 min-height: 100vh;
...@@ -89,7 +130,7 @@ ...@@ -89,7 +130,7 @@
89 130
90 .chat-log { 131 .chat-log {
91 position: absolute; 132 position: absolute;
92 top:0;right:0;bottom:89px;left:0; 133 top:0;right:0;bottom:103px;left:0;
93 overflow-y:scroll; 134 overflow-y:scroll;
94 text-align:left; 135 text-align:left;
95 } 136 }
...@@ -224,7 +265,7 @@ ...@@ -224,7 +265,7 @@
224 265
225 top: 0; 266 top: 0;
226 right: 0; 267 right: 0;
227 bottom: 89px; 268 bottom: 103px;
228 left: 0; 269 left: 0;
229 overflow-y: scroll; 270 overflow-y: scroll;
230 } 271 }
......
...@@ -32,6 +32,12 @@ const ChatBox = ({chatLog, setChatInput, handleSubmit, chatInput, startedInterac ...@@ -32,6 +32,12 @@ const ChatBox = ({chatLog, setChatInput, handleSubmit, chatInput, startedInterac
32 setStartedInteraction(true); 32 setStartedInteraction(true);
33 }}>Submit</button> 33 }}>Submit</button>
34 </form> 34 </form>
35 <div id="openai_disclaimer">
36 <a href="https://ai-pro.org/disclaimer/" target="_blank" rel="noreferrer">
37 AI-PRO is powered by OpenAI. <br/>We are neither affiliated nor related
38 to OpenAI.
39 </a>
40 </div>
35 </div> 41 </div>
36 </section> 42 </section>
37 ) 43 )
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!