Skip to content

GitHub commit message fixed-width by cakoose

Details

Authorcakoose

LicenseCC0

Categorygithub.com

Created

Updated

Code size653 B

Code checksum227cbfd4

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Changes the GitHub.com commit message editor to use a fixed-width font and show where 72 columns ends.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         GitHub commit message fixed-width
@version      1.1
@namespace    cakoose.com
@license      CC0
==/UserStyle== */

@-moz-document domain("github.com") {

/* Match GitHub's old commit UI */
textarea.merge-commit-message,
/* Match GitHub's new commit UI */
textarea[placeholder^="Add an optional extended description"]
{
    font-family: "Menlo" !important;
    font-size: 10pt !important;
    text-wrap: nowrap !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    background-image: linear-gradient(to right, transparent 44.25em, rgba(145, 103, 83, .3) 0em);
}

}

Reviews

No reviews yet.