Fixed entity page width size on all resolutions.

This commit is contained in:
Svetlana Rastegina 2021-03-23 17:57:44 +01:00 committed by Georgy Litvinov
parent ae9c177d10
commit 6004d28d06
2 changed files with 40 additions and 2 deletions

View file

@ -2657,6 +2657,24 @@ ul.dropdown ul.sub_menu li a:hover {
flex-wrap: nowrap; flex-wrap: nowrap;
justify-content: space-between; justify-content: space-between;
} }
.entity >div#articleWrapper {
width: 80%;
margin-left: auto;
margin-right: auto;
display: flex;
flex-direction: row-reverse;
flex-wrap: nowrap;
justify-content: space-between;
}
.entity.loggedIn >div#articleWrapper {
width: 80%;
margin-left: auto;
margin-right: auto;
display: flex;
flex-direction: row-reverse;
flex-wrap: nowrap;
justify-content: space-between;
}
.display.loggedIn >div#articleWrapper { .display.loggedIn >div#articleWrapper {
width: 80%; width: 80%;
margin-left: auto; margin-left: auto;
@ -2683,6 +2701,14 @@ ul.dropdown ul.sub_menu li a:hover {
width: 30%; width: 30%;
margin-left: 3%; margin-left: 3%;
} }
.entity >div#articleWrapper >div#searchRightpanel {
width: 30%;
margin-left: 3%;
}
.entity.loggedIn >div#articleWrapper >div#searchRightpanel {
width: 27%;
margin-left: 3%;
}
.display > div#articleWrapper > div#searchRightpanel { .display > div#articleWrapper > div#searchRightpanel {
width: 30%; width: 30%;
margin-left: 3%; margin-left: 3%;
@ -3286,6 +3312,12 @@ label.switch >#collapseTextControl >img {
.individual.loggedIn >div#articleWrapper { .individual.loggedIn >div#articleWrapper {
width: 90%; width: 90%;
} }
.entity >div#articleWrapper {
width: 90%;
}
.entity.loggedIn >div#articleWrapper {
width: 90%;
}
.display.loggedIn >div#articleWrapper { .display.loggedIn >div#articleWrapper {
width: 90%; width: 90%;
} }
@ -3325,6 +3357,12 @@ label.switch >#collapseTextControl >img {
.individual >div#articleWrapper { .individual >div#articleWrapper {
width: 95%; width: 95%;
} }
.entity >div#articleWrapper {
width: 95%;
}
.entity.loggedIn >div#articleWrapper {
width: 95%;
}
.individual.loggedIn >div#articleWrapper { .individual.loggedIn >div#articleWrapper {
width: 95%; width: 95%;
} }

View file

@ -13,11 +13,11 @@
<#include "menu.ftl"> <#include "menu.ftl">
<div id="articleWrapper"> <div id="articleWrapper">
<#if currentServlet = "individual"||currentServlet = "display"> <#if currentServlet = "individual"||currentServlet = "display"||currentServlet = "entity">
<#include "rightPanel.ftl"> <#include "rightPanel.ftl">
</#if> </#if>
<#include "contentWrapper.ftl"> <#include "contentWrapper.ftl">
<#if currentServlet != "individual" && currentServlet != "login" && currentServlet != "display" && currentServlet != "customsearch"> <#if currentServlet != "individual" && currentServlet != "login" && currentServlet != "display" && currentServlet != "customsearch" && currentServlet != "entity">
<section id="search-home" role="region"> <section id="search-home" role="region">
<h3><span class="search-filter-selected">filteredSearch</span></h3> <h3><span class="search-filter-selected">filteredSearch</span></h3>