webdav portal style fixes

This commit is contained in:
vfedosevich 2015-02-25 05:22:39 -08:00
parent 84877d8c13
commit 85789c4619
2 changed files with 7 additions and 6 deletions

View file

@ -24,13 +24,8 @@ textarea {
} }
.element-container { .element-container {
margin-bottom: 15px;
/*text-align:center;*/
cursor: pointer; cursor: pointer;
margin-top: 14px; margin-top: 15px;
margin-left: 1px;
margin-right: 1px;
padding: 3px;
} }
.element-container .element { .element-container .element {
@ -45,6 +40,7 @@ textarea {
-webkit-box-sizing:border-box; -webkit-box-sizing:border-box;
border: 1px solid rgb(80, 152, 249); border: 1px solid rgb(80, 152, 249);
padding: 3px; padding: 3px;
margin: 4px;
} }
.selected-file .element div.selected-element-overlay { .selected-file .element div.selected-element-overlay {

View file

@ -97,6 +97,11 @@ namespace WebsitePanel.WebDavPortal.Controllers
SearchValue = searchValue SearchValue = searchValue
}; };
if (Request.Browser.IsMobileDevice)
{
model.UserSettings.WebDavViewType = FolderViewTypes.BigIcons;
}
return View(model); return View(model);
} }
catch (UnauthorizedException e) catch (UnauthorizedException e)