Skip to content

elm packages: make compiler output fit the column by upsiflu

Screenshot of elm packages: make compiler output fit the column

Details

Authorupsiflu

LicenseNo License

Categoryelm packages

Created

Updated

Size702 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Tweak prevents wrapping of compiler output in Elm package docs when using elm-docs-preview (edp).
Needs Fira Code installed for nice ligatores: |> >> /= -> etc.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         elm packages: make compiler output fit the column
@version      20220315.12.36
@namespace    userstyles.world/user/upsiflu
@description  Tweak prevents wrapping of compiler output in Elm package docs when using elm-docs-preview (edp). 
Needs Fira Code installed for nice ligatores: |> >> /= -> etc.
@author       upsiflu
@license      No License
==/UserStyle== */

@-moz-document regexp("htt(p|ps)://.*/packages/.*/.*/.*") {
.center > div > span > span > span {
    font-weight:bold;
    font-size:11.5px;
}
.center > div > span > span {
    font-family: "Fira Code";
    font-size:11.5px;
    letter-spacing:-.6px;
}

.center > div {
    padding:2em 8px !important;
}
}

Reviews

No reviews yet.