Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

Policies: centre the collapsed-rail policy button between its dividers (#6646)

Reece Browne63ecbe3b6d66
diff --git a/frontend/editor/src/proprietary/components/policies/Policies.css b/frontend/editor/src/proprietary/components/policies/Policies.css
index 4102183a5c..637e30d380 100644
--- a/frontend/editor/src/proprietary/components/policies/Policies.css
+++ b/frontend/editor/src/proprietary/components/policies/Policies.css
@@ -424,6 +424,11 @@
align-items: center;
gap: var(--space-1);
flex-shrink: 0;
+ /* The collapsed-rail dividers carry 8px of space below them only, so the
+ divider above gives the row 8px of headroom while the one below (rendered
+ straight after) hugs it. Match that 8px underneath so the row sits centred
+ between the two dividers. */
+ margin-bottom: 8px;
}
.pol-crail-btn {
position: relative;