]> Untitled Git - lemmy-ui.git/commitdiff
Add space between cancel and ban button
authorPascal de Vink <pascal@pascaldevink.nl>
Mon, 26 Jun 2023 19:46:15 +0000 (20:46 +0100)
committerPascal de Vink <pascal@pascaldevink.nl>
Mon, 26 Jun 2023 20:58:16 +0000 (21:58 +0100)
When banning a user, the modal has two buttons: cancel and ban. These
buttons are so close to each other that it's hard to see they are
separate buttons.
By putting each button on their own row, there is more space between
them.

src/shared/components/person/profile.tsx

index d00036871a04c9ec922c93a56e5c9b6eb43fec8b..6015f6f64023656d214f3c2f01a1d2ea6624dc3f 100644 (file)
@@ -693,6 +693,8 @@ export class Profile extends Component<
             >
               {I18NextService.i18n.t("cancel")}
             </button>
+          </div>
+          <div className="mb-3 row">
             <button
               type="submit"
               className="btn btn-secondary"