diff --git a/frontend/src/components/AdminPanel.jsx b/frontend/src/components/AdminPanel.jsx index 813cebf..2d4c99a 100644 --- a/frontend/src/components/AdminPanel.jsx +++ b/frontend/src/components/AdminPanel.jsx @@ -1,5 +1,5 @@ import React, { useState } from 'react'; -import { PlusIcon, EditIcon, DeleteIcon, CloseIcon } from '../utils/svgs'; +import { PlusIcon, EditIcon, DeleteIcon, CloseIcon, PhoneIcon, EmailIcon } from '../utils/svgs'; import ImportExport from './ImportExport'; const AdminPanel = ({ token, employees, departments, companies, onRefreshData }) => { @@ -414,10 +414,25 @@ const AdminPanel = ({ token, employees, departments, companies, onRefreshData }) -
- {emp.phone &&
📞 {emp.phone}
} - {emp.internal_phone &&
📞 Вн.: {emp.internal_phone}
} - {emp.email &&
✉️ {emp.email}
} +
+ {emp.phone && ( + + + {emp.phone} + + )} + {emp.internal_phone && ( +
+ + Вн.: {emp.internal_phone} +
+ )} + {emp.email && ( + + + {emp.email} + + )}
diff --git a/frontend/src/index.css b/frontend/src/index.css index 8c7091a..c723594 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -437,6 +437,7 @@ button, input, select, textarea { gap: 0.25rem; color: var(--text-main); font-size: 0.8rem; + white-space: nowrap; } .table-contact-link:hover {