mirror of
https://github.com/openvk/openvk
synced 2024-12-25 18:11:07 +03:00
Remove javascript positioning🤮🤮🤮
This commit is contained in:
parent
553731deed
commit
77d0603e67
3 changed files with 5 additions and 11 deletions
|
@ -35,7 +35,7 @@ final class SearchPresenter extends OpenVKPresenter
|
|||
$invert = $this->queryParam("invert") == 1 ? "ASC" : "DESC";
|
||||
$page = (int) ($this->queryParam("p") ?? 1);
|
||||
|
||||
$this->willExecuteWriteAction();
|
||||
# $this->willExecuteWriteAction();
|
||||
if($query != "")
|
||||
$this->assertUserLoggedIn();
|
||||
|
||||
|
|
|
@ -149,11 +149,10 @@
|
|||
]}
|
||||
{/if}
|
||||
</div>
|
||||
<p style="margin-left: 15px; margin-top: 0;">
|
||||
<p style="margin-left: 15px; {if $thisUser->getPaginatorType() == 1}margin-top: 14px;{/if}">
|
||||
<b>{tr("results", $count)}</b>
|
||||
</p>
|
||||
<div>
|
||||
{include searchOptions}
|
||||
<div style="display: flex;flex-direction: row;">
|
||||
|
||||
{var $data = is_array($iterator) ? $iterator : iterator_to_array($iterator)}
|
||||
<div class="container_gray borderup infContainer" style="float:left;width:73.3%;">
|
||||
|
@ -231,12 +230,7 @@
|
|||
]}
|
||||
{/if}
|
||||
</div>
|
||||
<script>
|
||||
window.addEventListener("load", (event) => {
|
||||
document.getElementsByClassName("container_gray")[0].style.minHeight = document.getElementsByClassName("searchOptions")[0].clientHeight+"px";
|
||||
document.getElementsByClassName("searchOptions")[0].style.minHeight = document.getElementsByClassName("container_gray")[0].clientHeight-3+"px";
|
||||
})
|
||||
</script>
|
||||
{include searchOptions}
|
||||
{/block}
|
||||
|
||||
{block searchOptions}
|
||||
|
|
|
@ -2319,7 +2319,7 @@ a.poll-retract-vote {
|
|||
float:right;
|
||||
scrollbar-width: none;
|
||||
font-size:12px;
|
||||
background-color:#f7f7f7;
|
||||
background-color:#F6F6F6;
|
||||
margin-right: -7px;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue