Open garrett opened 6 days ago
Hello @jelly and @garrett
I am new to open source contribution. Please how do I proceed to fix this issue?
@Bestbynature: Nice! Hello, and thanks for looking at this!
The button is a link styled button, but should be secondary. Once you've found it in the codebase, you'd need to change the style of button.
PatternFly docs about buttons are at: https://www.patternfly.org/components/button
In other words, <Button variant="link">
needs to be <Button variant="secondary">
for the "Close" button.
Spotted in https://github.com/cockpit-project/cockpit/issues/20826#issuecomment-2434802896
The bug is that all action buttons need to look like a button. The exception is "Cancel", which is a link styled button. But this is a "Close" action, which should be styled like a secondary button, not a link.