Skip to content
This repository was archived by the owner on Feb 22, 2022. It is now read-only.
This repository was archived by the owner on Feb 22, 2022. It is now read-only.

Default prefix conflicts with medium size #14

@timobrembeck

Description

@timobrembeck

When using the option $fp-prepend: true; with the default prefix "fp", the medium size fp-md conflicts with the flag for Moldova fp-md. This means, e.g. the following:

<span class="fp fp-de"></span> <span class="fp fp-md fp-de"></span> <span class="fp fp-lg fp-de"></span>

renders to:
Screenshot
And

<span class="fp fp-md"></span> <span class="fp fp-md fp-md"></span> <span class="fp fp-lg fp-md"></span>

renders to:
Screenshot_2021-05-14 Integreat Redaktionssystem(3)

So I suggest to use either a different suffix for the medium size or set the default prefix to a different value.

Also, a quick workaround for the first problem would be to move "md" to the beginning of the default $fp-countries list so that any other flag classes can overwrite the background-image property since the classes are defined later in the resulting css file.

(I'm aware that it's possible to change the value for $fp-prefix manually, but I still think the default config should make sense.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions