feat: Change cli page

- New styles and strcture
- Add event listeners
- Add function to resize prompt according to input
- Append prompts to history element
This commit is contained in:
sthag 2025-06-23 19:33:35 +02:00
parent e76f457851
commit c0c87771b6
2 changed files with 76 additions and 3 deletions

View file

@ -4,6 +4,38 @@
}
}
#cli {
@extend %flex-column;
background-color: black;
#line {
@extend %flex-row;
}
#prompt {
flex: 1;
}
pre {
margin: .5em 0;
color: white;
}
textarea {
resize: none;
max-height: 128px;
margin: $margin_io;
border: 0;
padding: $space_half;
// color: $color_text_io;
color: white;
// background-color: $color_back_io;
background-color: transparent;
line-height: 1.2;
}
}
.body_frame {
@extend %flex-column;
@extend .body_ui;