Skip to content

Commit

Permalink
Chat border + scrollbar fixes plus config checkbox alignment (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
spacegaier committed May 24, 2021
1 parent 6ef72cb commit feed8c9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
7 changes: 5 additions & 2 deletions public/stylesheets/conversation.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@
}

#conversation #chat {
margin: 1em 0em;
overflow-y: scroll;
height: -webkit-fill-available;
padding: 5px 35px;
padding: 20px 35px;
height: 595px;
overflow-anchor: none;
}
Expand Down Expand Up @@ -93,6 +92,8 @@
max-height: 100%;
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
border: 1px solid #585858;
border-top: 0;
}

#conversation .message-rdl-title {
Expand Down Expand Up @@ -197,6 +198,8 @@
border-top-right-radius: 15px;
text-align: right;
padding-right: 15px;
border: 1px solid #585858;
border-bottom: 0;
}

.comment-options {
Expand Down
1 change: 0 additions & 1 deletion public/stylesheets/my_stuff.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
justify-content: space-between;
}


.bottom-bar.fa,
.bottom-bar.far {
cursor: pointer;
Expand Down
6 changes: 3 additions & 3 deletions views/config.pug
Original file line number Diff line number Diff line change
Expand Up @@ -62,21 +62,21 @@ block content
div.panel-body.panel-body-conf
form(action=Config.BASE_URL + '/config/set-options',method='post',data-toggle='validator')
input(type='hidden',name='_csrf',value=csrfToken)
div.form-group
div.form-group.form-inline
div.checkbox
label(for='setting-data-collection').control-label
input(type='checkbox',name='data_collection',value='1',checked=settings.data_collection)#setting-data-collection
= _(" Send anonymized commands to the authors of Almond for training.")
span.help-block
!= _("Almond is a research project from Stanford University. If you would like to participate to help us, you can allow us to collect the commands that you type. We only collect what you type, not your data, or what Almond replies. Please review the <a href='https://oval.cs.stanford.edu/almond-consent-form.html'>Consent Form</a> and keep it for your records before agreeing.")

div.form-group
div.form-group.form-inline
div.checkbox
label(for='setting-voice-input').control-label
input(type='checkbox',name='voice_input',value='1',checked=settings.voice_input)#setting-voice-input
= _(" Enable voice input (wake word activation and speech to text).")

div.form-group
div.form-group.form-inline
div.checkbox
label(for='setting-voice-output').control-label
input(type='checkbox',name='voice_output',value='1',checked=settings.voice_output)#setting-voice-output
Expand Down

0 comments on commit feed8c9

Please sign in to comment.