Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default RouteTemplate(
@value={{@controller.selectedPersona}}
@valueProperty="username"
@content={{@controller.personaOptions}}
@options={{hash icon="robot" [email protected]}}
@options={{hash icon="angle-down"}}
@onChange={{@controller.selectedPersonaChanged}}
/>
</div>
Expand Down
51 changes: 28 additions & 23 deletions assets/stylesheets/modules/ai-bot-conversations/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ body.has-ai-conversations-sidebar {
}

.sidebar-wrapper {
.sidebar-container {
border: none;
}

.ai-conversations-panel {
padding-top: 0;
}
Expand Down Expand Up @@ -114,24 +110,24 @@ body.has-ai-conversations-sidebar {
width: calc(100% - 6.5em);
margin-top: 0;

@media screen and (max-width: 924px) {
@media screen and (width <= 924px) {
max-width: unset;
width: 100%;
}

@media screen and (min-width: 1300px) {
@media screen and (width >= 1300px) {
width: 100%;
max-width: 51em;
}

.topic-footer-main-buttons {
justify-content: flex-end;

@media screen and (min-width: 1180px) {
@media screen and (width >= 1180px) {
margin-right: 0.6em;
}

@media screen and (max-width: 924px) {
@media screen and (width <= 924px) {
margin-right: 0.6em;
}
}
Expand All @@ -141,7 +137,7 @@ body.has-ai-conversations-sidebar {
display: none;
}

@media screen and (max-width: 924px) {
@media screen and (width <= 924px) {
.archetype-private_message .topic-post:last-child {
margin-bottom: 0;
}
Expand All @@ -164,16 +160,25 @@ body.has-ai-conversations-sidebar {
.ai-bot-conversations {
height: calc(100dvh - var(--header-offset) - 1.25em);

@media screen and (min-width: 675px) {
border: 1px solid var(--primary-low);
padding: 2em 2em 3em;
border-radius: var(--border-radius);
height: calc(100dvh - var(--header-offset) - 10em);
}

&__persona-selector {
display: flex;
justify-content: flex-end;
justify-content: flex-start;
}

&__persona-selector .btn {
background-color: transparent;
font-weight: bold;
}

&__persona-selector .btn:hover,
&__persona-selector .btn:focus {
background-color: transparent;
color: var(--primary);
}

&__persona-selector .btn:hover .d-icon,
&__persona-selector .btn:focus .d-icon {
color: var(--primary);
}

&__content-wrapper {
Expand All @@ -193,7 +198,7 @@ body.has-ai-conversations-sidebar {
max-width: 90dvw;
margin-top: 2em;

@media screen and (min-width: 600px) {
@media screen and (width >= 600px) {
width: 80%;
max-width: 46em;
}
Expand Down Expand Up @@ -224,15 +229,15 @@ body.has-ai-conversations-sidebar {
font-size: var(--font-up-6);
line-height: var(--line-height-medium);

@media screen and (min-height: 300px) {
@media screen and (height >= 300px) {
margin-top: -1em;
}

@media screen and (min-height: 600px) {
@media screen and (height >= 600px) {
margin-top: -3em;
}

@media screen and (min-height: 900px) {
@media screen and (height >= 900px) {
margin-top: -6em;
}
}
Expand All @@ -242,7 +247,7 @@ body.has-ai-conversations-sidebar {
font-size: var(--font-down-1);
color: var(--primary-700);

@media screen and (min-width: 600px) {
@media screen and (width >= 600px) {
width: 80%;
max-width: 46em;
}
Expand Down Expand Up @@ -282,7 +287,7 @@ body.has-ai-conversations-sidebar {
margin-top: 0;
}

@media screen and (max-width: 600px) {
@media screen and (width <= 600px) {
.share-ai-conversation-button {
.d-icon {
margin: 0;
Expand Down
Loading