Skip to content

Newly added "connection type" icon and text in device info is slightly misaligned #8592

Closed

Description

@tomasz1986

This has been added recently in fd0a622. The problem is that the icon doesn't come from Fork Awesome but from Bootstrap. Because of this, it's got different dimensions, which makes it narrower than the other icons that come from Fork Awesome.

image

I can think of two possible fixes for this:

a) Tweak the CSS to make the icon's width identical to Fork Awesome icons. Maybe adding some padding/margin horizontally could fix this?

or

b) Replace the Bootstrap icon in this single instance with the signal icon from Fork Awesome, which uses the same dimensions as all the other currently used icons.

Activity

  1. added
    bug
    needs-triage
    on Oct 7, 2022
  2. acolomb commented on Oct 8, 2022

    @acolomb
    Member

    To me it seems like the margin left of the icon is smaller but the distance to the following text is the same. So maybe our CSS somehow sets additional padding / margin on the FA icons, which doesn't get applied to the Bootstrap one?

    The question whether Fork Awesome is still needed for licensing reasons was raised previously. If not, it might be best switching back to Font Awesome and use their icons consistently. Does anybody know more about the licensing concerns?

  3. bt90 commented on Oct 8, 2022

    @bt90
    Contributor

     Fork Awesome is still needed for licensing reasons

    They have near identical licenses?

    https://fontawesome.com/license/free vs https://forkaweso.me/Fork-Awesome/license/

    The only difference is CC BY 3.0 vs CC BY 4.0

  4. tomasz1986 commented on Oct 8, 2022

    @tomasz1986
    MemberAuthor

    I think the license that applies to our use case is actually

    Fonts - SIL OFL 1.1 License
    In the Font Awesome Free download, the SIL OFL license applies to all icons packaged as web and desktop font files.

    as our icons are technically fonts. We could of course replace everything with SVG images instead (which is better for accessibility, but it would also require quite a lot of work).

  5. wweich commented on Oct 8, 2022

    @wweich
    Contributor

    I don't know, if it makes a difference in license, but using the JS Version of Font-Awesome doesn't require any Fonts (just 1 js-File needed, nothing else) and it will replace the <i> -Tags with the corresponding SVG-Code automatically.
    Placing

    <script>
        FontAwesomeConfig = {
            autoReplaceSvg: 'nest'
        };
    </script>

    before the Font-Awesome-Script, the <i>-Tags won't be replaced, but the SVG-Code will be placed inside them, so the CSS-Selectors still work and most of the custom styling could still work.

  6. imsodin commented on Oct 9, 2022

    @imsodin
    Member

    It's about source code: Font awesome is only available in compiled form, build tools arent' open source. So for a strict definition of open source, it isn't - users don't have a means to modify it at will (as they can't compile modifications). That's an issue for debian, not sure if also for fedora or f-droid. So not an issue for our own builds/release, but at least for a small fraction of users it would be (according to usage reporting ~3%). Personally as long as we don't have a strong reason to, I'd rather not move to font awesome (just my personal opinion).
    Original ticket about fork/font awesome: #5236

  7. calmh commented on Oct 9, 2022

    @calmh
    Member

    Maybe bootstrap icons is the better set, if we were going to switch to anything. (If it's open source enough, I didn't investigate beyond seeing "open source" in the page title.)

  8. added a commit that references this issue on Nov 4, 2022
    04dfb7d
  9. added a commit that references this issue on Nov 8, 2022
    db49472
  10. added this to the v1.22.2 milestone on Nov 9, 2022
  11. added a commit that references this issue on Nov 22, 2022
    4ee1015
  12. added
    frozen-due-to-age
    on Nov 5, 2023
  13. locked and limited conversation to collaborators on Nov 5, 2023
  14. added a commit that references this issue on Jan 30, 2024
    fbdaa26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfrozen-due-to-ageneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions