Skip to content
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

[53977] Change placeholder of user autocompleter in agenda item form #15254

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
2 changes: 1 addition & 1 deletion frontend/src/global_styles/content/_autocomplete.sass
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ div.autocomplete

.ng-placeholder
top: 1px !important
color: var(--color-fg-muted)
color: var(--color-fg-subtle)
@include text-shortener

input
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@
&--actions
justify-self: end

// Render an icon in front of the placeholder
&--presenter
.ng-placeholder
@extend .icon-user
&:before
@include icon-font-common
margin-right: 10px

@media screen and (max-width: $breakpoint-md)
grid-template-columns: 100px minmax(0, 100%)
grid-template-areas: "title title" "duration presenter" "notes notes" "add_note actions"
1 change: 1 addition & 0 deletions modules/meeting/app/forms/meeting_agenda_item/presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ class MeetingAgendaItem::Presenter < ApplicationForm
focusDirectly: false,
multiple: false,
appendTo: "body",
placeholder: I18n.t("activerecord.attributes.meeting_agenda_item.presenter"),
disabled: @disabled
}
)
Expand Down
Loading