Skip to content

[FEATURE REQUEST] Automatically check if .svg files contain width and height attributes #1549

@Snailedlt

Description

@Snailedlt

I have searched through the issues and didn't find my problem.

  • Confirm

Problem

Icons should use the viewbox attribute instead of the width and height attributes. Atm we have to check this manually when reviewing a PR, but it can easily be automated with check-bot

Possible Solution

Add checks to check-bot and respond with an error message if any .svg files in a PR contain width and/or height attributes

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    devopsDevops/automation related enhancementsenhancement

    Type

    No type

    Projects

    Status

    To-do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions