mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-25 20:44:53 -04:00
Style updates.
This commit is contained in:
parent
4df73eb45c
commit
4765d31a0b
7 changed files with 27 additions and 29 deletions
|
@ -23,7 +23,7 @@ modulejs.define('view/viewmode', ['_', '$', 'core/settings', 'core/resource', 'c
|
|||
var $view = $('#view');
|
||||
var itemWidth = ($view.hasClass('view-icons') || $view.hasClass('view-grid')) ? ($view.find('.item').eq(0).outerWidth(true) || 1) : 1;
|
||||
|
||||
$view.width(Math.floor(contentWidth / itemWidth) * itemWidth);
|
||||
$view.width(Math.floor(contentWidth / itemWidth) * itemWidth + 4);
|
||||
}
|
||||
|
||||
function update(mode, size) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue