Forráskód Böngészése

Only remove padding when listing applications (#20382)

This prevents styling issues on the Authorization page.
Connor Shea 1 éve
szülő
commit
cf4992c918
1 módosított fájl, 8 hozzáadás és 1 törlés
  1. 8 1
      app/javascript/styles/mastodon/forms.scss

+ 8 - 1
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 {