Corrige la visualización de CKEditor

Cuando una página del wiki tiene mucho texto se visualiza una flecha en
la esquina inferior derecha para hacer scroll hacia arriba que afectaba
a la visualización de CKEditor al maximizarlo. Se corrige eliminando la
flecha al editar. También se amplía el ancho máximo de la web y otros
cambios menores.
This commit is contained in:
Manuel Cillero 2021-09-11 07:06:28 +02:00
parent 0f87f1397f
commit 13735ef067
2 changed files with 19 additions and 9 deletions

View file

@ -28,7 +28,7 @@
return data; return data;
}; };
} }
*/ */
var element = document.createElement( 'div' ); var element = document.createElement( 'div' );
function decodeEntities( html ) { function decodeEntities( html ) {
@ -105,7 +105,7 @@
return this.editor.lang.widget.label.replace( /%1/, this.data.name + ' ' + this.pathName ); return this.editor.lang.widget.label.replace( /%1/, this.data.name + ' ' + this.pathName );
} }
} ); } );
editor.on( 'instanceReady', function() { editor.on( 'instanceReady', function() {
var config = {}; var config = {};
@ -259,7 +259,7 @@
} }
var suggestions = itemsArray.filter( function( item ) { var suggestions = itemsArray.filter( function( item ) {
return item.title.indexOf( matchInfo.query.toLowerCase() ) == 0; return item.title.indexOf( matchInfo.query.toLowerCase() ) == 0;
}); });
callback( suggestions ); callback( suggestions );

View file

@ -56,7 +56,7 @@ body {
#wrapper-footer { #wrapper-footer {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
max-width: 1240px; max-width: 1480px;
} }
#wrapper3 { #wrapper3 {
background: #e1e1e1 url(../images/bg_main.png) repeat-x center bottom -1px; background: #e1e1e1 url(../images/bg_main.png) repeat-x center bottom -1px;
@ -91,7 +91,7 @@ div.journal {
div.journal h4.note-header { div.journal h4.note-header {
font-size: 13px; font-size: 13px;
padding-right: 0; padding-right: 0;
margin: 10px 0 20px; margin: 10px 0 25px;
line-height: 15px; line-height: 15px;
} }
.journal-link { .journal-link {
@ -208,7 +208,7 @@ abbr[title] {
border-radius: 6px; border-radius: 6px;
background-color: #f2f2f2; background-color: #f2f2f2;
} }
#projects-index ul.projects div.child a.project { #projects-index ul.projects a.project.child {
font-size: 34px; font-size: 34px;
line-height: 1.2em; line-height: 1.2em;
} }
@ -661,6 +661,9 @@ ul.social-menu .social-link-mail:hover a {
background: url(../images/icon2top.png) no-repeat; background: url(../images/icon2top.png) no-repeat;
z-index: 999; z-index: 999;
} }
body.action-edit #scrollup {
display: none;
}
@media screen and (max-width: 899px) { @media screen and (max-width: 899px) {
#scrollup { #scrollup {
bottom: 20px; bottom: 20px;
@ -733,6 +736,9 @@ article.news-article {
/******************************************************************************* /*******************************************************************************
10. WIKI */ 10. WIKI */
div.wiki p:empty {
margin: 0;
}
div.wiki ul.toc { div.wiki ul.toc {
float: right; float: right;
margin-right: 0; margin-right: 0;
@ -1569,6 +1575,9 @@ table td ul, table th ul { padding-left: 20px; }
div#roadmap .related-issues td.assigned_to { div#roadmap .related-issues td.assigned_to {
padding: 0 3px; padding: 0 3px;
} }
div#roadmap .version-article {
margin: .5em 0 2.5em;
}
/******************************************************************************* /*******************************************************************************
26. OBJECTS */ 26. OBJECTS */
@ -1663,17 +1672,17 @@ body.controller-glossary_terms table.term td .wiki p:last-child {
/******************************************************************************* /*******************************************************************************
29. RESPONSIVE */ 29. RESPONSIVE */
@media screen and (min-width: 1240px) { @media screen and (min-width: 1480px) {
#main { #main {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
width: 1240px; width: 1480px;
} }
#sidebar { #sidebar {
width: 280px; width: 280px;
} }
} }
@media screen and (max-width: 1239px) { @media screen and (max-width: 1439px) {
#wrapper3 { #wrapper3 {
padding-bottom: 0; padding-bottom: 0;
} }
@ -2060,6 +2069,7 @@ body.controller-glossary_terms table.term td .wiki p:last-child {
#login-form a.lost_password, #login-form a.lost_password,
#filters, #options, #filters, #options,
div.flash,
a.icon, a.wiki-anchor, a.icon, a.wiki-anchor,
body.controller-welcome.action-index #content section#one, body.controller-welcome.action-index #content section#one,
body.controller-welcome.action-index #content section#two, body.controller-welcome.action-index #content section#two,