fix: align wrapped article dialog actions safely
All checks were successful
Deploy Dzen assistant / deploy (push) Successful in 30s
All checks were successful
Deploy Dzen assistant / deploy (push) Successful in 30s
This commit is contained in:
parent
56118fcb53
commit
c6837b3dc1
1 changed files with 1 additions and 1 deletions
|
|
@ -3071,7 +3071,7 @@ export default function App() {
|
||||||
<section className="w-full max-w-md rounded-lg border bg-background p-5 shadow-lg" role="dialog" aria-modal="true" aria-labelledby="article-close-confirm-title" aria-describedby="article-close-confirm-description">
|
<section className="w-full max-w-md rounded-lg border bg-background p-5 shadow-lg" role="dialog" aria-modal="true" aria-labelledby="article-close-confirm-title" aria-describedby="article-close-confirm-description">
|
||||||
<h3 id="article-close-confirm-title" className="text-lg font-semibold">Сохранить изменения?</h3>
|
<h3 id="article-close-confirm-title" className="text-lg font-semibold">Сохранить изменения?</h3>
|
||||||
<p id="article-close-confirm-description" className="mt-2 text-sm text-muted-foreground">Несохранённые правки останутся только в этом браузере и будут потеряны при выходе.</p>
|
<p id="article-close-confirm-description" className="mt-2 text-sm text-muted-foreground">Несохранённые правки останутся только в этом браузере и будут потеряны при выходе.</p>
|
||||||
<div className="mt-5 grid gap-2 sm:flex sm:flex-wrap sm:justify-end">
|
<div className="mt-5 grid gap-2 sm:flex sm:flex-wrap sm:justify-start">
|
||||||
<Button variant="outline" className="h-11 shrink-0" onClick={stayInArticle}>Остаться</Button>
|
<Button variant="outline" className="h-11 shrink-0" onClick={stayInArticle}>Остаться</Button>
|
||||||
<Button variant="outline" className="h-11 shrink-0" disabled={editorBusy} onClick={discardArticleChanges}>Не сохранять</Button>
|
<Button variant="outline" className="h-11 shrink-0" disabled={editorBusy} onClick={discardArticleChanges}>Не сохранять</Button>
|
||||||
<Button className="h-11 shrink-0" disabled={editorBusy} onClick={() => void saveAndCloseArticle()}>
|
<Button className="h-11 shrink-0" disabled={editorBusy} onClick={() => void saveAndCloseArticle()}>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue