about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorConnor Shea <connor.james.shea@gmail.com>2022-11-10 18:55:20 -0700
committerGitHub <noreply@github.com>2022-11-11 02:55:20 +0100
commitcf4992c918459187962a9e2f389f9ccb4f1b825d (patch)
tree063c896d60a4059783b35923bf19d9c519297237 /app
parent97f657f8181dc24f6c30b6e9f0ce52df827ac90f (diff)
Only remove padding when listing applications (#20382)
This prevents styling issues on the Authorization page.
Diffstat (limited to 'app')
-rw-r--r--app/javascript/styles/mastodon/forms.scss9
1 files changed, 8 insertions, 1 deletions
diff --git a/app/javascript/styles/mastodon/forms.scss b/app/javascript/styles/mastodon/forms.scss
index a3ddc7636..1841dc8bf 100644
--- a/app/javascript/styles/mastodon/forms.scss
+++ b/app/javascript/styles/mastodon/forms.scss
@@ -1064,11 +1064,18 @@ code {
 
     &:last-child {
       border-bottom: 0;
-      padding-bottom: 0;
     }
   }
 }
 
+// Only remove padding when listing applications, to prevent styling issues on
+// the Authorization page.
+.applications-list {
+  .permissions-list__item:last-child {
+    padding-bottom: 0;
+  }
+}
+
 .keywords-table {
   thead {
     th {