From 71186631f3cc80726e8f6e915657f3d0635607c3 Mon Sep 17 00:00:00 2001 From: Maxim Leshchenko Date: Tue, 25 Jan 2022 00:21:58 +0200 Subject: [PATCH] Global: Fix lists display and CSS formatting fixes --- Web/Presenters/templates/@listView.xml | 2 +- Web/Presenters/templates/Photos/AlbumList.xml | 6 +- Web/static/css/style.css | 60 +++++++++---------- 3 files changed, 34 insertions(+), 34 deletions(-) diff --git a/Web/Presenters/templates/@listView.xml b/Web/Presenters/templates/@listView.xml index 3fd8f26f..35c9a2f0 100644 --- a/Web/Presenters/templates/@listView.xml +++ b/Web/Presenters/templates/@listView.xml @@ -11,7 +11,7 @@ {if sizeof($data) > 0}
- +
diff --git a/Web/Presenters/templates/Photos/AlbumList.xml b/Web/Presenters/templates/Photos/AlbumList.xml index 40e8b22d..7db097d0 100644 --- a/Web/Presenters/templates/Photos/AlbumList.xml +++ b/Web/Presenters/templates/Photos/AlbumList.xml @@ -28,9 +28,9 @@ {var cover = $x->getCoverPhoto()} {var preview = is_null($cover) ? "/assets/packages/static/openvk/img/camera_200.png" : $cover->getURL()} - - {$x->getName()} - + + {$x->getName()} + {/block} {block name} diff --git a/Web/static/css/style.css b/Web/static/css/style.css index add49c26..ff04619b 100644 --- a/Web/static/css/style.css +++ b/Web/static/css/style.css @@ -794,9 +794,9 @@ table.User { } .tabs { - border-bottom: 1px solid #707070; - margin-right: -12px; - margin-left: -12px; + border-bottom: 1px solid #707070; + margin-right: -12px; + margin-left: -12px; } #activetabs { @@ -1581,10 +1581,10 @@ body.scrolled .toTop:hover { } .postFeedWrapper { - padding: 4px 8px; - background-color: rgb(240, 240, 240); - border-bottom: 1px solid #ccc; - border-top: 1px solid #ccc; + padding: 4px 8px; + background-color: rgb(240, 240, 240); + border-bottom: 1px solid #ccc; + border-top: 1px solid #ccc; } .user-alert { @@ -1787,36 +1787,36 @@ body.scrolled .toTop:hover { } .summaryBar { - border-bottom: 1px solid #DAE2E8; - clear: both; - padding: 11px 10px; - color: black; - font-weight: normal; - line-height: normal; - margin-left: -12px; - margin-right: -12px; + border-bottom: 1px solid #DAE2E8; + clear: both; + padding: 11px 10px; + color: black; + font-weight: normal; + line-height: normal; + margin-left: -12px; + margin-right: -12px; } .summaryBar .summary { - color: #45688E; - font-weight: bold; - padding-top: 3px; - padding-bottom: 4px; - display: inline-block; + color: #45688E; + font-weight: bold; + padding-top: 3px; + padding-bottom: 4px; + display: inline-block; } .note_header { - background: #f7f7f7; - border-bottom: solid 1px #DAE1E8; - border-top: solid 1px #45688E; - padding: 4px 6px 5px 6px; + background: #f7f7f7; + border-bottom: solid 1px #DAE1E8; + border-top: solid 1px #45688E; + padding: 4px 6px 5px 6px; } .note_header .note_title { - color: #45688E; - font-size: 13px; - font-weight: bold; - line-height: 15px; - margin: 0; - padding: 0 0 1px 0; + color: #45688E; + font-size: 13px; + font-weight: bold; + line-height: 15px; + margin: 0; + padding: 0 0 1px 0; }