代码拉取完成,页面将自动刷新
这么宽的屏幕就中间大概一半屏幕的宽度显示代码,两边全是空白感觉好蛋疼。。。
原版的 gitlab 是可以显示满整个屏幕的。。。
还有刚发现提 Issue 的时候没有预览呀。。
找个宽屏显示器。。。
代码页面加上宽屏模式?
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
写了个用户脚本来解决问题。。
// ==UserScript==
// @namespace https://www.github.com/Cat7373/
// @name git@osc 宽屏模式
// @match http://git.oschina.net/
// @match https://git.oschina.net/
// @match http://gitee.com/
// @match https://gitee.com/
// @match http://git.oschina.net/*
// @match https://git.oschina.net/*
// @match http://gitee.com/*
// @match https://gitee.com/*
// @grant none
// @run-at document-start
// ==/UserScript==
(function() {
'use strict';
(function full() {
if (window.$) {
var $mainContent = window.$('.main-content');
if ($mainContent.size()) {
$mainContent.removeClass('container').addClass('container-fluid');
}
}
setTimeout(full, 100);
})();
})();
登录 后才可以发表评论