Ask Your Question
1

moderation tab is moving with the mouse cursor

asked 2011-06-03 11:52:40 -0500

Samuel gravatar image Samuel flag of France
413 16 6 21

In the user's profile page, the tab moderation is not well placed. In my case I have the following tabs : overview, inbox, reputation history, favorites, activity, casted votes, subscriptions, moderation.

delete close flag offensive retag edit

Comments

Samuel, what is your LANGUAGE_CODE in settings? Evgeny ( 2011-06-03 12:14:46 -0500 )edit
Here is the value : LANGUAGE_CODE = 'en' Samuel ( 2011-06-06 04:44:59 -0500 )edit
I think your css is out of date. This site runs the latest version of code and there is no problem like you describe. For French you'l probably will need to squeeze css even more or abbreviate the words in the translation. Evgeny ( 2011-06-06 13:00:54 -0500 )edit
We plan to use only the English localization and I am using the default css wich is up-to-date. This issue has appeared when I have updated the source code last week with the apparition of new tab "casted votes". Now, after a new update of the source code, the tab has disappeared and the problem as well... So it is not a problem anymore. Maybe you have an explanation. Samuel ( 2011-06-07 03:12:39 -0500 )edit
Maybe what happened is that your browser used cached version of the css file. Any time you upgrade, increment a number in settings->skin and ui settings->media revision number. This will change the version number on all media files in the urls and the browser will load fresh files (all the css and js). Evgeny ( 2011-06-07 12:05:53 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2011-06-03 12:13:59 -0500

Evgeny gravatar image Evgeny flag of Chile
11314 50 84 183
http://askbot.org/

It is a problem with css and that the tabs are horizontal. Also in some languages words are longer, then tabs do not fit.

You'll probably need to adjust css rules, for example, set font size and padding to the tabs so that they fit the page width.

.user-profile-page .tabBar .tabsC a {
   font-size: ...
   padding: ...
}

The extra rules can go to either file askbot/skins/default/media/style/style.css (at the bottom), or askbot/skins/default/media/style/extra.css. In the first case it will help if you use git to merge later updates.

link publish delete flag offensive edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2011-06-03 11:52:40 -0500

Seen: 41 times

Last updated: Jun 03 '11