Skip to content
Snippets Groups Projects
Commit 97bd8400 authored by Ron Lucke's avatar Ron Lucke
Browse files

Courseware: in der neuen Block-Auswahl-Liste ist für mich unten der letzte...

Courseware: in der neuen Block-Auswahl-Liste ist für mich unten der letzte Eintrag nicht richtig sichtbar

Closes #4401

Merge request studip/studip!3290
parent 66f121b8
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
</div> </div>
</form> </form>
<div class="filterpanel"> <div id="filterpanel" class="filterpanel">
<span class="sr-only">{{ $gettext('Kategorien-Filter') }}</span> <span class="sr-only">{{ $gettext('Kategorien-Filter') }}</span>
<button <button
v-for="category in blockCategories" v-for="category in blockCategories"
...@@ -142,7 +142,8 @@ export default { ...@@ -142,7 +142,8 @@ export default {
]; ];
}, },
toolContentStyle() { toolContentStyle() {
const height = this.toolbarContentHeight - 115; const filterPanelHeight = document.getElementById("filterpanel")?.offsetHeight ?? 75;
const height = this.toolbarContentHeight - filterPanelHeight - 40;
return { return {
height: height + 'px', height: height + 'px',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment