Add tampermonkey script to widen launchpad comments
Launchpad comments are set to be very narrow, and pasted logs always wrap in hard-to-read places. This script just removes the max-width setting from the paragraphs in comments. Change-Id: I1798d11ea88ffa8092252c32294b4870b1ff09cd
This commit is contained in:
parent
444c957386
commit
6b140f14a2
|
@ -0,0 +1,30 @@
|
|||
// Copyright 2021 Red Hat Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// ==UserScript==
|
||||
// @name Wider Lauchpad Comments
|
||||
// @namespace http://tampermonkey.net/
|
||||
// @version 0.1
|
||||
// @description Make launchpad comments as wide as possible!
|
||||
// @author Terry Wilson <otherwiseguy@gmail.com>
|
||||
// @match https://bugs.launchpad.net/*/+bug/*
|
||||
// @grant GM_addStyle
|
||||
// @run-at document-start
|
||||
// ==/UserScript==
|
||||
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
GM_addStyle(".yui3-editable_text-text p {max-width: none}");
|
||||
})();
|
Loading…
Reference in New Issue