The Right boxes should have scrollbars

You have a suggestion for a future version of phpMyFAQ? Then post it here!

Moderator: Thorsten

Post Reply
martinbrait
Posts: 3
Joined: Thu Jul 23, 2015 4:45 pm

The Right boxes should have scrollbars

Post by martinbrait »

Hello Thorsten,
Thanks for your great project !

When edit thousand of articles, in a while, and spin them, I have trouble.
Too many articles are spinned, on the right side of the website phpmyfaq,

I have TO SCROLL AND SCROLL for a long time with my main scrollbar, to read the last article.

It's not funny when I have to scroll a long distance, with the main sheet scrollbar,
spending a very long time, to just read one article.

Do you have a way to publish smaller right boxes, (5 articles max per box) ?

I really don't know how to insert and adapt this underline code, to the 3 right little boxes with one vertical little scrollbar per box ? :( :( :(

Here's an example, with .pre-scrollable

Code: Select all

code,
pre {
  padding: 0 3px 2px;
  font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
  font-size: 12px;
  color: #333333;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
code {
  padding: 2px 4px;
  color: #d14;
  background-color: #f7f7f9;
  border: 1px solid #e1e1e8;
  white-space: nowrap;
}
pre {
  display: block;
  padding: 8.5px;
  margin: 0 0 9px;
  font-size: 13px;
  line-height: 18px;
  word-break: break-all;
  word-wrap: break-word;
  white-space: pre;
  white-space: pre-wrap;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.15);
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
pre.prettyprint {
  margin-bottom: 18px;
}
pre code {
  padding: 0;
  color: inherit;
  white-space: pre;
  white-space: pre-wrap;
  background-color: transparent;
  border: 0;
}
.pre-scrollable {
  max-height: 340px;
  overflow-y: scroll;
}


Thanks a lot for your help !!!
You do not have the required permissions to view the files attached to this post.
Thorsten
Posts: 15627
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: The Right boxes should have scrollbars

Post by Thorsten »

Hi,

you can define the number of entries in all 3 boxes in the admin configuration or in the file constants.php

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply