mirror of
https://github.com/Iheuzio/gpt-contextfiles.git
synced 2025-07-18 14:00:48 +00:00
Merge pull request #33 from Iheuzio/fix/style-rendered
Fix/style rendered
This commit is contained in:
commit
6977f004d2
@ -1,7 +1,6 @@
|
||||
const vscode = require('vscode');
|
||||
const { Configuration, OpenAIApi } = require("openai");
|
||||
const FileDataProvider = require('./fileDataProvider');
|
||||
const FileItem = require('./fileItem');
|
||||
const { getWebviewContent } = require('./webviewPanel');
|
||||
|
||||
|
||||
|
@ -162,7 +162,7 @@ function getWebviewContent(apiResponse = '', question = '') {
|
||||
color: #d4d4d4;
|
||||
cursor: pointer;
|
||||
padding: 10px;
|
||||
width: 100%;
|
||||
width: 98%;
|
||||
border: none;
|
||||
outline: none;
|
||||
text-align: left;
|
||||
@ -186,12 +186,12 @@ function getWebviewContent(apiResponse = '', question = '') {
|
||||
display: none;
|
||||
overflow: hidden;
|
||||
background-color: #f1f1f1;
|
||||
width: 100%;
|
||||
width: 98%;
|
||||
}
|
||||
|
||||
.content p {
|
||||
margin-top: 0;
|
||||
font-size: 14px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.active,
|
||||
@ -230,6 +230,7 @@ function getWebviewContent(apiResponse = '', question = '') {
|
||||
border: 1px solid white;
|
||||
border-radius: 5px;
|
||||
padding: 10px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
#question-rep {
|
||||
@ -238,6 +239,8 @@ function getWebviewContent(apiResponse = '', question = '') {
|
||||
word-wrap: wrap;
|
||||
border: 1px solid white;
|
||||
border-radius: 5px;
|
||||
padding: 10px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
div#api-response.content.active {
|
||||
@ -254,7 +257,7 @@ function getWebviewContent(apiResponse = '', question = '') {
|
||||
color: inherit;
|
||||
cursor: pointer;
|
||||
outline: inherit;
|
||||
width: 100%;
|
||||
width: 98%;
|
||||
text-align: left;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
|
Loading…
Reference in New Issue
Block a user