Skip to content

Commit

Permalink
Merge pull request #68 from odeialba/SV-62
Browse files Browse the repository at this point in the history
SV-62 Make the cards stand out more from the background
  • Loading branch information
odeialba authored May 3, 2024
2 parents 667dfd8 + 1abeb41 commit 4d15a7d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/*Adds a border around the cards in the preference sorting activity*/
li.d-flex.card.p-3.mb-2.optionitem.draggable {
border-style: solid;
border-color: #c0c0c0;
border-width: thin;
}
2 changes: 1 addition & 1 deletion templates/sort_voting_form.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
{{! This list is drag and drop sortable. }}
<ul id="sortvotinglist" class="ml-0 fa-ul">
{{#options}}
<li class="d-flex card p-3 mb-2 {{^allowupdate}}bg-gray-100{{/allowupdate}} {{#allowupdate}}optionitem draggable{{/allowupdate}}" {{#allowupdate}}data-drag-type="move" draggable="true"{{/allowupdate}}>
<li class="d-flex card p-3 mb-2 {{#allowupdate}}optionitem draggable{{/allowupdate}}" {{#allowupdate}}data-drag-type="move" draggable="true"{{/allowupdate}}>
<div>
<input type="number" name="option[]" data-optionid="{{id}}" value="{{position}}" max="{{max}}" min="1" class="d-none" />
<span class="float-right dragicon ml-auto">{{#pix}}i/dragdrop{{/pix}}</span>
Expand Down

0 comments on commit 4d15a7d

Please sign in to comment.