mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-04 21:35:47 -05:00
fix issue where router icons for addresses on server list get squashed at certain resolutions
This commit is contained in:
@@ -37,7 +37,7 @@ function Address({ model }: PartProps) {
|
||||
return (
|
||||
<div className='flex-1 ml-4 lg:block lg:col-span-2 hidden'>
|
||||
<div className='flex justify-center'>
|
||||
<EthernetPort size='1em' className='inline-block text-muted-foreground' />
|
||||
<EthernetPort size='1em' className='inline-block shrink-0 text-muted-foreground' />
|
||||
<p className='text-sm text-muted-foreground ml-2'>{model.address}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { LucideIcon } from 'lucide-react';
|
||||
import { cn } from '@/lib/cn';
|
||||
|
||||
export const ServerRowMetricIcon = ({ $alarm, icon: IconComponent }: { $alarm: boolean; icon: LucideIcon }) => (
|
||||
<IconComponent size={'1em'} className={cn('inline-block', $alarm ? 'text-destructive' : 'text-muted-foreground')} />
|
||||
<IconComponent size={'1em'} className={cn('inline-block shrink-0', $alarm ? 'text-destructive' : 'text-muted-foreground')} />
|
||||
);
|
||||
|
||||
export function ServerRowMetricDescription({ $alarm, children }: { $alarm: boolean; children: React.ReactNode }) {
|
||||
|
||||
Reference in New Issue
Block a user