Compare commits
No commits in common. "32a9d500864ddbe9d8b0914cd03cc023bc2a33f5" and "cb8d54576413647778d3c31d6420d31b80a94b6f" have entirely different histories.
32a9d50086
...
cb8d545764
2 changed files with 40 additions and 82 deletions
|
@ -14,7 +14,7 @@ const Header: React.FC<HeaderProps> = ({ onViewChange, showDivs, toggleDivs, sho
|
|||
<header>
|
||||
<ul>
|
||||
<li>
|
||||
<button onClick={() => onViewChange('AI')} className="header-button header-logo">
|
||||
<button onClick={() => onViewChange('AI')} className="header-button">
|
||||
<img src="/img/logo.png" alt="logo" className="header-logo" />
|
||||
</button>
|
||||
</li>
|
||||
|
|
|
@ -1,93 +1,51 @@
|
|||
/* Responsive behavior - applies only on smaller screens */
|
||||
@media (max-width: 1200px) {
|
||||
*{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Header styles */
|
||||
header {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
top: 0;
|
||||
left: 0;
|
||||
margin-top: 5px;
|
||||
padding-top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Container styles */
|
||||
.container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
width: 100vw;
|
||||
overflow: hidden;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
header li{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
header li button {
|
||||
margin: 2px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
header li img {
|
||||
height: 1.5em;
|
||||
vertical-align: middle;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
/* Left panel styles */
|
||||
.left-panel {
|
||||
display: none; /* Initially hidden */
|
||||
min-width: 90%; /* Takes full width when visible */
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.left-panel.visible {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Conversation container styles */
|
||||
.conversation-container {
|
||||
width: 90%;
|
||||
height: 90%;
|
||||
.container {
|
||||
display: flex;
|
||||
justify-content: center; /* Centers horizontally */
|
||||
width: 90vw;
|
||||
margin-top: 10vh;
|
||||
}
|
||||
|
||||
.left-panel {
|
||||
display: none; /* Initially hidden */
|
||||
min-width: 90%; /* Takes full width when shown */
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
.conversation-container {
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
.conversation-container.collapsed {
|
||||
width: 0;
|
||||
padding: 0;
|
||||
border: none;
|
||||
overflow: hidden;
|
||||
.left-panel.visible {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.conversation-container.expanded {
|
||||
width: 100%;
|
||||
.conversation-container.collapsed {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Grid styles */
|
||||
.grid {
|
||||
.conversation-container.expanded {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.grid {
|
||||
grid-template-columns: 1fr; /* One item per line */
|
||||
}
|
||||
|
||||
/* Model box styles */
|
||||
.model-box {
|
||||
max-width: none; /* Remove max-width */
|
||||
margin: 0 auto; /* Center each model-box */
|
||||
.model-box {
|
||||
max-width: none; /* Remove max-width constraint */
|
||||
margin: 0 auto; /* Center each model-box */
|
||||
}
|
||||
|
||||
/* Input styles */
|
||||
.input {
|
||||
.input {
|
||||
grid-column: 1 / -1;
|
||||
flex-direction: row;
|
||||
gap: 10px;
|
||||
padding: 0.5em;
|
||||
margin: 0 auto;
|
||||
|
@ -95,16 +53,16 @@
|
|||
width: 90%;
|
||||
}
|
||||
|
||||
.input input {
|
||||
font-size: 1em; /* Adjust font size */
|
||||
max-width: 65%;
|
||||
margin-right: 0;
|
||||
.input input {
|
||||
font-size: 1em; /* Adjust font size */
|
||||
max-width: 65%;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.input button {
|
||||
height: 40px; /* Adjust button height */
|
||||
width: 40px; /* Adjust button width */
|
||||
font-size: 1.2em; /* Adjust button font size */
|
||||
margin: auto;
|
||||
.input button {
|
||||
height: 40px; /* Adjust button height */
|
||||
width: 40px; /* Adjust button width */
|
||||
font-size: 1.2em; /* Adjust button font size */
|
||||
margin: auto;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue