Ask Your Question
1

moderation tab is moving with the mouse cursor

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

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

Comments

Samuel, what is your LANGUAGE_CODE in settings?
Evgeny gravatar imageEvgeny ( 2011-06-03 12:14:46 -0500 )edit
Here is the value : LANGUAGE_CODE = 'en'
Samuel gravatar imageSamuel ( 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 gravatar imageEvgeny ( 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 gravatar imageSamuel ( 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 gravatar imageEvgeny ( 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

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

Stats

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

Seen: 98 times

Last updated: Jun 03 '11