Skip to content

Commit a521286

Browse files
committed
Display toggle fieldtypes inline when in sidebar. Closes statamic/ideas#218.
1 parent da84894 commit a521286

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

resources/sass/components/toggle.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,13 @@ $toggle_radius: 20px;
9595
}
9696
}
9797

98+
/* Inside the Sidebar
99+
========================================================================== */
100+
.publish-sidebar .toggle-fieldtype {
101+
@apply flex items-center justify-between;
102+
.field-inner > label { margin: 0; }
103+
}
104+
98105
/* Inside a Grid field
99106
========================================================================== */
100107

0 commit comments

Comments
 (0)