Ask Your Question

moderation tab is moving with the mouse cursor

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

Samuel gravatar image

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.

edit retag flag offensive close merge delete


Samuel, what is your LANGUAGE_CODE in settings?
Evgeny gravatar imageEvgeny ( 2011-06-03 12:14:46 -0600 )edit
Here is the value : LANGUAGE_CODE = 'en'
Samuel gravatar imageSamuel ( 2011-06-06 04:44:59 -0600 )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 gravatar imageEvgeny ( 2011-06-06 13:00:54 -0600 )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 gravatar imageSamuel ( 2011-06-07 03:12:39 -0600 )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 gravatar imageEvgeny ( 2011-06-07 12:05:53 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

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

Evgeny gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


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

Seen: 98 times

Last updated: Jun 03 '11