@@ -220,39 +220,20 @@ export default function Cookies() {
220220 confirmVariant = "information"
221221 />
222222
223- < div className = "px-6 pb-6 pt-8 flex w-full items-center justify-between" >
223+ < div className = "flex w-full items-center justify-between px-6 pb-6 pt-8 " >
224224 < div className = "text-heading-sm font-bold text-text-heading" >
225225 { t ( 'layout.browser-cookie-management' ) }
226226 </ div >
227227 </ div >
228228
229- < div className = "gap-4 flex flex-col" >
230- < div className = "rounded-xl border-border-disabled bg-surface-secondary p-6 relative flex w-full flex-col border" >
231- < div className = "right-6 top-6 absolute" >
232- < Button
233- variant = "information"
234- size = "xs"
235- onClick = { handleRestartApp }
236- className = "gap-0 ease-in-out justify-center overflow-hidden rounded-full transition-all duration-300"
237- >
238- < RefreshCw className = "flex-shrink-0" />
239- < span
240- className = { `ease-in-out overflow-hidden transition-all duration-300 ${
241- hasUnsavedChanges
242- ? 'pl-2 max-w-[150px] opacity-100'
243- : 'ml-0 max-w-0 opacity-0'
244- } `}
245- >
246- { t ( 'layout.restart-to-apply' ) }
247- </ span >
248- </ Button >
249- </ div >
250- < div className = "text-body-sm text-text-label max-w-[600px]" >
229+ < div className = "flex flex-col gap-4" >
230+ < div className = "relative flex w-full flex-col rounded-xl border border-border-disabled bg-surface-secondary p-6" >
231+ < div className = "max-w-[600px] text-body-sm text-text-label" >
251232 { t ( 'layout.browser-cookies-description' ) }
252233 </ div >
253- < div className = "mt-4 gap-3 border-border-secondary pt-3 flex w-full flex-col border-[0.5px] border-x-0 border-b-0 border-solid" >
254- < div className = "py-2 flex flex-row items-center justify-between" >
255- < div className = "gap-2 flex flex-row items-center justify-start" >
234+ < div className = "mt-4 flex w-full flex-col gap-3 border-[0.5px] border-x-0 border-b-0 border-solid border-border-secondary pt-3 " >
235+ < div className = "flex flex-row items-center justify-between py-2 " >
236+ < div className = "flex flex-row items-center justify-start gap-2 " >
256237 < div className = "text-body-base font-bold text-text-body" >
257238 { t ( 'layout.cookie-domains' ) }
258239 </ div >
@@ -263,14 +244,14 @@ export default function Cookies() {
263244 ) }
264245 </ div >
265246
266- < div className = "gap-2 flex items-center" >
247+ < div className = "flex items-center gap-2 " >
267248 { cookieDomains . length > 0 && (
268249 < Button
269250 variant = "ghost"
270251 size = "sm"
271252 onClick = { handleDeleteAll }
272253 disabled = { deletingAll }
273- className = "!text-text-cuation uppercase "
254+ className = "uppercase !text-text-cuation"
274255 >
275256 { deletingAll
276257 ? t ( 'layout.deleting' )
@@ -302,14 +283,14 @@ export default function Cookies() {
302283 </ div >
303284
304285 { cookieDomains . length > 0 ? (
305- < div className = "gap-2 flex flex-col" >
286+ < div className = "flex flex-col gap-2 " >
306287 { groupDomainsByMain ( cookieDomains ) . map ( ( group , index ) => (
307288 < div
308289 key = { index }
309- className = "rounded-xl border-border-disabled bg-surface-tertiary px-4 py-2 flex items-center justify-between border-solid "
290+ className = "flex items-center justify-between rounded-xl border-solid border-border- disabled bg-surface-tertiary px-4 py-2"
310291 >
311292 < div className = "flex w-full flex-col items-start justify-start" >
312- < span className = "text-body-sm font-bold text-text-body truncate " >
293+ < span className = "truncate text-body-sm font-bold text-text-body" >
313294 { group . mainDomain }
314295 </ span >
315296 < span className = "mt-1 text-label-xs text-text-label" >
@@ -335,20 +316,20 @@ export default function Cookies() {
335316 ) ) }
336317 </ div >
337318 ) : (
338- < div className = "px-4 py-8 flex flex-col items-center justify-center" >
319+ < div className = "flex flex-col items-center justify-center px-4 py-8 " >
339320 < Cookie className = "mb-4 h-12 w-12 text-icon-secondary opacity-50" />
340- < div className = "text-body-base font-bold text-text-label text-center " >
321+ < div className = "text-body-base text-center font-bold text-text-label" >
341322 { t ( 'layout.no-cookies-saved-yet' ) }
342323 </ div >
343- < p className = "text-label-xs font-medium text-text-label text-center " >
324+ < p className = "text-center text- label-xs font-medium text-text-label" >
344325 { t ( 'layout.no-cookies-saved-yet-description' ) }
345326 </ p >
346327 </ div >
347328 ) }
348329 </ div >
349330 </ div >
350331
351- < div className = "text-label-xs text-text-label w-full text-center " >
332+ < div className = "w-full text-center text-label-xs text-text-label " >
352333 For more information, check out our
353334 < a
354335 href = "https://www.eigent.ai/privacy-policy"
0 commit comments