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

DEV: Add 'Webinar ID' label to modal input #95

Merged
merged 1 commit into from
Oct 25, 2024
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
24 changes: 15 additions & 9 deletions assets/javascripts/discourse/components/modal/webinar-picker.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -285,15 +285,21 @@ export default class WebinarPicker extends Component {
{{else}}
<div class="webinar-picker-wrapper">
<div class="inline-form webinar-picker-input">
<Input
@type="text"
@value={{this.webinarIdInput}}
class="webinar-builder-id"
/>
<DButton
@action={{fn this.selectWebinar this.webinarIdInput}}
@icon="plus"
/>
<label>
<span>{{i18n "zoom.webinar_picker.webinar_id"}}</span>
<div class="inline-form">
<Input
@type="text"
@value={{this.webinarIdInput}}
class="webinar-builder-id"
/>

<DButton
@action={{fn this.selectWebinar this.webinarIdInput}}
@icon="plus"
/>
</div>
</label>
</div>
<div class="webinar-picker-add-past">
<DButton
Expand Down
10 changes: 10 additions & 0 deletions assets/stylesheets/common/webinar-picker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,16 @@

.webinar-picker-input {
text-align: center;

label {
display: flex;
flex-direction: column;
font-size: var(--font-0);

span {
margin-bottom: 0.5rem;
}
}
}

.webinar-picker-wrapper {
Expand Down