discourse-ai/assets/stylesheets/modules/ai-helper/mobile/ai-helper.scss

72 lines
1.4 KiB
SCSS

.fk-d-menu-modal {
&.ai-post-helper-menu-content {
.ai-post-helper {
&__suggestion__text,
&__suggestion__buttons {
padding: 0.75em 1rem;
margin: 0;
}
}
.d-modal__body {
display: flex;
flex-direction: column;
max-height: 100%;
overflow: hidden;
}
.ai-helper-options {
padding: 0;
}
.ai-custom-prompt {
padding: 0.75em 1rem;
margin: 0;
}
.ai-helper-loading {
justify-content: center;
}
}
.ai-post-helper-menu,
.ai-composer-helper-menu {
&__selected-text {
margin: 0.75em 1rem;
padding: 0.5em;
border-radius: var(--d-border-radius);
border: 1px solid var(--primary-low);
box-shadow: 0 0 4px rgba(0, 0, 0, 0.125);
overflow: auto;
overscroll-behavior: contain;
}
}
}
#topic-title .edit-topic-title.showing-ai-suggestions {
.category-chooser {
flex: 1 1 90%;
}
.ai-category-suggester-trigger {
padding: 0.425em;
}
.ai-tag-suggester-trigger {
padding: 0.45em;
}
}
.ios-device #topic-title .edit-topic-title.showing-ai-suggestions button {
&.ai-title-suggester-trigger {
padding-top: 0.4em;
padding-bottom: 0.4em;
}
&.ai-category-suggester-trigger {
padding-top: 0.4em;
padding-bottom: 0.25em;
}
&.ai-tag-suggester-trigger {
padding-top: 0.4em;
padding-bottom: 0.3em;
}
}