First time here? Check out the FAQ!
1

moderation tab is moving with the mouse cursor

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.

Samuel's avatar
425
Samuel
asked 2011-06-03 11:52:40 -0600
edit flag offensive 0 remove flag close merge delete

Comments

Samuel, what is your LANGUAGE_CODE in settings?
Evgeny's avatar Evgeny (2011-06-03 12:14:46 -0600) edit
Here is the value : LANGUAGE_CODE = 'en'
Samuel's avatar Samuel (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's avatar Evgeny (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's avatar Samuel (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's avatar Evgeny (2011-06-07 12:05:53 -0600) edit
add a comment see more comments

1 Answer

0

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.

Evgeny's avatar
13.2k
Evgeny
answered 2011-06-03 12:13:59 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments