Joffrey JAFFEUX d2002f81a7
DEV: migrates tools form to form-kit (#1204)
This PR is a retry of: #1135, where we migrate AiTools form to FormKit. The previous PR accidentally removed code related to setting enum values, and as a result was reverted. This update includes enums correctly along with the previous updates.
2025-04-22 09:23:25 -07:00

61 lines
952 B
SCSS

.ai-tool-parameter {
padding: 1.5em;
border: 1px solid var(--primary-low-mid);
border-radius: var(--d-input-border-radius);
width: 100%;
box-sizing: border-box;
.form-kit__container-content {
flex-direction: column;
width: 100%;
}
}
.ai-tool-parameter__enum-values {
margin-block: 1rem;
.form-kit__container-content {
display: grid;
grid-template-columns: 1fr auto;
position: relative;
.form-kit__button.btn-icon-text {
justify-self: start;
grid-column: 1 / -1;
}
}
}
.ai-tool-editor {
max-width: 80%;
position: relative;
#control-rag_uploads .rag-uploader {
h3,
p {
display: none;
}
}
}
.ai-tool-test-modal {
&__test-result div {
ul {
padding-left: 1em;
}
}
}
.ai-tool-list-editor {
&__header {
display: flex;
justify-content: space-between;
align-items: center;
margin: 0 0 1em 0;
h3 {
margin: 0;
}
}
}