7

I'm trying to make Gmail's new look usable on my small 1024x768 screen - the default layout leaves only a small window for the messages, surrounded by unmoving elements. Scrolling that small window around is massively annoying.

I've managed to make the entire page scrollable using a Stylish user style (a modified version of this one):

@-moz-document domain('mail.google.com'), 
 url-prefix('https://mail.google.com/mail') {

.akc.lKgBkb,
.oLaOvc.aeJ,
.lKgBkb.nH.oy8Mbf,
.lKgBkb.ajl.aib
{
  height: auto !important;
  overflow: hidden !important;
}

#canvas_frame { overflow-y: scroll; }

.l2 { padding-bottom: 20px !important; }

}

The elements that were supposed to have scrollbars now have height: auto, and what is scrolled is the whole outer page (in #canvas-frame) that was supposed to remain static.

I'm mostly satisfied with the effect -- it works almost like the old Gmail did. There is, however, a problem - scrolling with keyboard (arrow keys, PgUp/PgDn, Home/End) stopped working. Any ideas on how to fix that?

4

2 回答 2

1

您是否尝试过寻找现成的解决方案?虽然 DIY 方法令人钦佩,但很可能有人已经进行了深入的更改,特别是考虑到一些用户对新外观选项的不满。

“Greasemonkey 用户也可以将此样式安装为用户脚本”下此处链接的文件(无从属关系)可能是一个很好的起点;虽然我会更详细地介绍它并删除任何奇怪的第 3 方 url 引用等。

于 2012-05-02T04:30:33.357 回答
0

我在 Ubuntu 上使用 Firefox 12,但看不到内部滚动条。消息窗格通过主滚动条滚动。他们已经为您解决了这个问题,或者需要更多信息。你使用的是什么浏览器?

于 2012-05-02T19:08:47.933 回答