Skip to content

Commit

Permalink
[#12081] User-friendliness: Fix margins on mobile (#12096)
Browse files Browse the repository at this point in the history
* Redo all changes over the last few days

* Missed out a few changes

* Resolve comments

* Update tests
  • Loading branch information
weiquu authored and zhaojj2209 committed Mar 25, 2023
1 parent 08eac00 commit 1f90b8f
Show file tree
Hide file tree
Showing 18 changed files with 1,560 additions and 1,536 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div>
<b class="feedback-path-title">Feedback Path</b> (Who is giving feedback about whom?)
</div>
<div ngbDropdown #mainMenu="ngbDropdown" class="margin-top-15px" autoClose="outside">
<div ngbDropdown #mainMenu="ngbDropdown" class="margin-top-15px overflow-scroll" autoClose="outside">
<button id="btn-feedback-path" class="btn btn-light white-space-normal" ngbDropdownToggle [disabled]="!model.isEditable || commonFeedbackPaths.size === 1">
<span *ngIf="!model.isUsingOtherFeedbackPath">
{{ model.giverType | giverTypeDescription }} will give feedback on <i class="fas fa-arrow-right"></i> {{ model.recipientType | recipientTypeDescription }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ exports[`QuestionEditFormComponent should snap with default view 1`] = `
</div>
<div
autoclose="outside"
class="margin-top-15px dropdown"
class="margin-top-15px overflow-scroll dropdown"
ngbdropdown=""
>
<button
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.padding-0 {
padding: 0;
}

.col-auto {
flex: 0 1 auto;
}
Loading

0 comments on commit 1f90b8f

Please sign in to comment.