Skip to content

Commit

Permalink
SAK-49998 Master adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
stetsche committed Apr 24, 2024
1 parent a0a052a commit 0db8d70
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 6 deletions.
4 changes: 2 additions & 2 deletions assignment/tool/src/webapp/js/assignmentsByStudent.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ function renderGrouping({ studentName, actionLink, expanded }) {
const template = document.createElement('template');
template.innerHTML = `
<tr>
<td>
<td class="border-0">
<a href="${actionLink}">
<span class="expand-icon fa ${expanded ? "fa-chevron-down" : "fa-chevron-right"}"
<span class="expand-icon si ${expanded ? "si-expanded" : "si-collapsed"}"
aria-hidden="true"></span>
<span>${studentName}</span>
</a>
Expand Down
2 changes: 2 additions & 0 deletions library/src/skins/default/src/sass/base/_icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ $fa-font-path: "./fonts";
eye-slash-fill: bi-eye-slash-fill,
question: bi-question,
warning: bi-exclamation-lg,
expanded: bi-chevron-down,
collapsed: bi-chevron-right,
);


Expand Down
10 changes: 10 additions & 0 deletions library/src/skins/default/src/sass/modules/datatables/_base.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.dt-header-row,
.dt-footer-row {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}

.dt-header-slot {
padding: 2px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -688,9 +688,10 @@
div:first-child {
margin-right: 7px;
}
}

.expand-icon {
width: 1em;
text-align: center;
}
.expand-icon {
width: 1em;
text-align: center;
}
}

0 comments on commit 0db8d70

Please sign in to comment.