[Webkit-unassigned] [Bug 275307] Augmented Fonts on iOS depend on the length of the line.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 10 01:14:00 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=275307

--- Comment #2 from Karl Dubost <karlcow at apple.com> ---
    .post {
        :where(pre) {
            font-size: .875rem;
            padding-block: 1rem;
            padding-inline: 1.2rem;
            margin-inline: calc(var(--indent) * -1);
            margin-block-end: 2rem;
            scrollbar-color: #000 #1e1e1e;
            contain: inline-size;
            @media (width > 480px) {
                padding-inline: 1rem;
                border-radius:.5rem
            }

            @media (width > 576px) {
                border-radius: .5rem;
                font-size: 1rem;
                padding: 1.25rem;
                margin-inline:0
            }

            @media (width > 767px) {
                font-size:1.125rem
            }
        }


        :where(code) {
            background-color: #1e1e1e;
            padding-inline: .3em;
            font-size: .8125em;
            display: inline-block;
            border-radius: 4px;
            line-height:1.6
        }

        :where(pre code) {
            font-size: .875em;
            line-height:inherit
        }

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240610/e1c69cbc/attachment.htm>


More information about the webkit-unassigned mailing list