UX: improve composer suggestion button layout (#678)
This commit is contained in:
parent
59ed6d7b3e
commit
1a8532b91b
|
@ -225,15 +225,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// Suggest Titles Related
|
// Suggest Titles Related
|
||||||
.suggest-titles-button {
|
|
||||||
display: block;
|
|
||||||
align-self: baseline;
|
|
||||||
background: var(--secondary);
|
|
||||||
border: 1px solid var(--primary-400);
|
|
||||||
border-left: none;
|
|
||||||
border-top-left-radius: 0;
|
|
||||||
border-bottom-left-radius: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.showing-ai-suggestions {
|
.showing-ai-suggestions {
|
||||||
.title-input {
|
.title-input {
|
||||||
|
@ -263,9 +254,9 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.suggest-titles-button,
|
||||||
.suggest-tags-button,
|
.suggest-tags-button,
|
||||||
.suggest-category-button {
|
.suggest-category-button {
|
||||||
display: block;
|
|
||||||
align-self: baseline;
|
align-self: baseline;
|
||||||
border: 1px solid var(--primary-400);
|
border: 1px solid var(--primary-400);
|
||||||
border-left: none;
|
border-left: none;
|
||||||
|
@ -299,13 +290,28 @@
|
||||||
#reply-control {
|
#reply-control {
|
||||||
.with-category .showing-ai-suggestions .category-input {
|
.with-category .showing-ai-suggestions .category-input {
|
||||||
flex-wrap: nowrap;
|
flex-wrap: nowrap;
|
||||||
.select-kit {
|
max-width: calc(50% - 0.2em);
|
||||||
max-width: calc(100% - 2.25em);
|
.category-chooser {
|
||||||
|
min-width: 0;
|
||||||
|
flex: 1 1 auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.with-tags .showing-ai-suggestions .mini-tag-chooser.select-kit {
|
.with-category:not(.with-tags) {
|
||||||
max-width: calc(100% - 2.25em);
|
// when tagging is disabled
|
||||||
|
.showing-ai-suggestions .category-input {
|
||||||
|
max-width: 40%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.with-tags {
|
||||||
|
.showing-ai-suggestions .tags-input {
|
||||||
|
display: flex;
|
||||||
|
max-width: calc(50% - 0.2em);
|
||||||
|
.mini-tag-chooser {
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue