fix(style-rendered): content looks better now

This commit is contained in:
Christopher 2023-06-27 12:14:39 -04:00
parent fd9ac838c4
commit f3fa6a3d0b

View File

@ -162,7 +162,7 @@ function getWebviewContent(apiResponse = '', question = '') {
color: #d4d4d4; color: #d4d4d4;
cursor: pointer; cursor: pointer;
padding: 10px; padding: 10px;
width: 100%; width: 95%;
border: none; border: none;
outline: none; outline: none;
text-align: left; text-align: left;
@ -186,12 +186,12 @@ function getWebviewContent(apiResponse = '', question = '') {
display: none; display: none;
overflow: hidden; overflow: hidden;
background-color: #f1f1f1; background-color: #f1f1f1;
width: 100%; width: 95%;
} }
.content p { .content p {
margin-top: 0;
font-size: 14px; font-size: 14px;
margin: 0;
} }
.active, .active,
@ -230,6 +230,7 @@ function getWebviewContent(apiResponse = '', question = '') {
border: 1px solid white; border: 1px solid white;
border-radius: 5px; border-radius: 5px;
padding: 10px; padding: 10px;
color: white;
} }
#question-rep { #question-rep {
@ -238,6 +239,7 @@ function getWebviewContent(apiResponse = '', question = '') {
word-wrap: wrap; word-wrap: wrap;
border: 1px solid white; border: 1px solid white;
border-radius: 5px; border-radius: 5px;
padding: 10px;
} }
div#api-response.content.active { div#api-response.content.active {
@ -254,7 +256,7 @@ function getWebviewContent(apiResponse = '', question = '') {
color: inherit; color: inherit;
cursor: pointer; cursor: pointer;
outline: inherit; outline: inherit;
width: 100%; width: 98%;
text-align: left; text-align: left;
display: inline-block; display: inline-block;
position: relative; position: relative;