diff --git a/client/admin/admin.less b/client/admin/admin.less index e66ead5e3..9fc52d40f 100644 --- a/client/admin/admin.less +++ b/client/admin/admin.less @@ -107,14 +107,14 @@ body { } th, td { + max-width : 50ch; padding : 5px 10px; + overflow : hidden; + text-overflow : ellipsis; vertical-align : middle; text-align : center; + white-space : nowrap; border-right : 1px solid; - max-width:50ch; - overflow:hidden; - text-overflow: ellipsis; - white-space: nowrap; &:last-child { border-right : none; } } diff --git a/client/admin/brewUtils/brewCleanup/brewCleanup.jsx b/client/admin/brewUtils/brewCleanup/brewCleanup.jsx index 7d6c34f55..cceb961f2 100644 --- a/client/admin/brewUtils/brewCleanup/brewCleanup.jsx +++ b/client/admin/brewUtils/brewCleanup/brewCleanup.jsx @@ -10,7 +10,7 @@ const BrewCleanup = ({})=>{ const [error, setError] = useState(null); const find = async (type)=>{ - + if(type === 'junk') try { setPendingJunk(true); @@ -109,18 +109,18 @@ const BrewCleanup = ({})=>{ {Moment(brew.updatedAt).fromNow()} {brew.lastViewed ? Moment(brew.lastViewed).fromNow() : 'No last viewed date'} {brew.googleId ? 'Google' : 'Homebrewery'} - + ; })} ; }; const renderFound = (type)=>{ - const deleteButton = !(type === 'junk' && junkBrewCollection.length === 0 || type === 'lost' && lostBrewCollection.length === 0); + const deleteButton = !(type === 'junk' && junkBrewCollection.length === 0 || type === 'lost' && lostBrewCollection.length === 0); return
{deleteButton &&