Skip to content

Commit

Permalink
Small tweak to ensure creator tutorial hides in a timely manner
Browse files Browse the repository at this point in the history
  • Loading branch information
clpetersonucf committed Apr 23, 2024
1 parent 1adb8cb commit 0e4804c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/creator.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ <h3>Phrase</h3>
<span>{{currentPage+1}}/{{numberOfPages()}}</span>
<button ng-disabled="currentPage >= numberOfPages() - 1" ng-click="currentPage=currentPage+1">Next</button>
</div>
<div ng-show="!items.length &amp;&amp; step" class="arrow-box">
<div ng-show="!items.length" class="arrow-box">
<span>Click here to add your first question</span>
</div>
<div id="backgroundcover" ng-click="hideCover()" ng-class="{ show: showTitleDialog || showIntroDialog || questionBankModal }"></div>
Expand Down
5 changes: 5 additions & 0 deletions src/creator.scss
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,11 @@ button.add-question {
margin-left: 150px;
animation: pounce 1s infinite;

// applied to ensure it disappears in a timely manner; without this there appears to be a delay because of the animation property
&.ng-hide {
animation: none;
}

span {
display: inline-block;
width: 140px;
Expand Down

0 comments on commit 0e4804c

Please sign in to comment.