Skip to content

UX: adjust styling for composer tip similar topics + limit amount #32774

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
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
22 changes: 17 additions & 5 deletions app/assets/stylesheets/common/base/compose.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1026,16 +1026,25 @@ div.ac-wrap {
.composer-popup {
box-sizing: border-box;
position: absolute;
width: calc(50% - 16px);
top: 19px; // grippie (11px) + .reply-area padding (8px)
bottom: 8px;
right: 8px;
width: calc(60%);
max-height: 50%;
bottom: 3.7rem;
right: 1rem;
overflow-y: auto;
z-index: z("composer", "dropdown") + 1;
padding: 1.5em;
padding: 1.5em 1.5rem 0.75em 1.5rem;
box-shadow: var(--shadow-dropdown);
background: var(--highlight-bg);

.show-preview & {
bottom: 3.2rem;
width: calc(50% - 16px);
}

.blurb {
display: none;
}

> p,
h3 {
&:first-of-type {
Expand Down Expand Up @@ -1169,6 +1178,9 @@ div.ac-wrap {

.first-line {
flex: 1;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}

.second-line {
Expand Down
1 change: 1 addition & 0 deletions lib/svg_sprite.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ module SvgSprite
discourse-sidebar
discourse-sparkles
discourse-table
discourse-text
discourse-threads
discourse-add-translation
download
Expand Down
4 changes: 4 additions & 0 deletions vendor/assets/svg-icons/discourse-additional.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading