Skip to content

Hardcoded pixel value w-[72px] in DashboardHeader violates project style rules #5583

@aashu2006

Description

@aashu2006

User Request

Type: bug
Target: Console Application
Submitted by: @aashu2006
Console Request ID: f579eb14-ea5a-4543-9fc9-31ce5dba644f

Description

What happened:
In web/src/components/shared/DashboardHeader.tsx:128, a hardcoded pixel value is used directly in a className:

className={`... w-[72px] ...`}

Per the project's style rules, pixel values must be named constants and not hardcoded inline.

What I expected:
The pixel value should be extracted to a named constant or a Tailwind config value.

Steps to reproduce:

  1. Review web/src/components/shared/DashboardHeader.tsx:128
  2. Observe w-[72px] hardcoded inline with no named constant

This issue was automatically created from the KubeStellar Console.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/enhancementEnhancement or improvementneeds-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.triage/neededNeeds triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions