Skip to content

Commit

Permalink
Fix colorbox dot and remove unused prop
Browse files Browse the repository at this point in the history
  • Loading branch information
Drulikar committed May 17, 2024
1 parent 30ed9a6 commit 915d476
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion tgui/packages/tgui-panel/ping/PingIndicator.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export const PingIndicator = (props) => {
width="50px"
className="Ping"
color="transparent"
hover
py="0.125em" // Override what light theme does to this
px="0.25em" // Override what light theme does to this
tooltip="Ping relays"
Expand Down
2 changes: 1 addition & 1 deletion tgui/packages/tgui/components/ColorBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type Props = {
export function ColorBox(props: Props) {
const { content, children, className, ...rest } = props;

rest.color = content ? null : 'default';
rest.color = content ? 'default' : 'transparent';
rest.backgroundColor = props.color || 'default';

return (
Expand Down

0 comments on commit 915d476

Please sign in to comment.