Commit 2f423879 authored by asseldonk's avatar asseldonk
Browse files

filebrowser: css update

parent 8446b8ae
......@@ -89,7 +89,7 @@ var FileBaseSelections = Class.extend({
var offsetSelected = null;
var y = 0;
var lastSelectedNode = this.lastSelectedNode;
var contentContainer = $(".file-view-content-container", this.FileBase.view.fileContentContainer);
var contentContainer = $(".file-node", this.FileBase.view.fileContentContainer);
var offsetMain = this.FileBase.view.fileContentContainer.offset().top;
if (lastSelectedNode === null || number === 0) {
selectNode = contentContainer.children().first();
......
......@@ -83,7 +83,7 @@ function getShortcuts() {
this.fb.selections.selectNextNode();
} else {
var item = $(".symbol-item");
var widthContent = $(".file-view-content-container", this.fb.view.fileContentContainer).width();
var widthContent = $(".file-node", this.fb.view.fileContentContainer).width();
var widthItem = item.width() + parseInt(item.css("marginLeft"), 10) + parseInt(item.css(
"marginRight"), 10);
var elementsPerRow = Math.floor(widthContent / widthItem);
......@@ -100,7 +100,7 @@ function getShortcuts() {
this.fb.selections.selectPrevNode();
} else {
var item = $(".symbol-item");
var widthContent = $(".file-view-content-container", this.fb.view.fileContentContainer).width();
var widthContent = $(".file-node", this.fb.view.fileContentContainer).width();
var widthItem = item.width() + parseInt(item.css("marginLeft"), 10) + parseInt(item.css(
"marginRight"), 10);
var elementsPerRow = Math.floor(widthContent / widthItem);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment