You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: resources/css/components/fieldtypes/bard.css
+19-39Lines changed: 19 additions & 39 deletions
Original file line number
Diff line number
Diff line change
@@ -139,42 +139,6 @@
139
139
border-top-right-radius:0!important;
140
140
}
141
141
}
142
-
143
-
/* While the fixed toolbar is "stuck", mask the focus state of the editor to prevent blue focus lines appearing around the side of the toolbar while scrolling */
144
-
container-type: scroll-state;
145
-
@containerscroll-state(stuck: top) {
146
-
>* {
147
-
position: relative;
148
-
&::after {
149
-
content:'';
150
-
position: absolute;
151
-
inset:-4px-8px;
152
-
box-shadow:
153
-
/* Left Mask */
154
-
-1px0px0pxvar(--color-gray-300),
155
-
/* Right Mask */
156
-
1px0px0pxvar(--color-gray-300),
157
-
/* Bottom "Shadow" */
158
-
04px5px-3pxhsl(0deg0%85%)
159
-
;
160
-
border-inline-width:2px;
161
-
border-inline-color:var(--color-gray-50);
162
-
}
163
-
:is(.dark) & {
164
-
&::after {
165
-
box-shadow:
166
-
/* Left Mask */
167
-
-1px0px0pxvar(--color-gray-700),
168
-
/* Right Mask */
169
-
1px0px0pxvar(--color-gray-700),
170
-
/* Bottom "Shadow" */
171
-
04px5px-3pxhsl(0deg0%10%)
172
-
;
173
-
border-inline-color:var(--color-gray-850);
174
-
}
175
-
}
176
-
}
177
-
}
178
142
}
179
143
180
144
/* Only top-level Bard fields should have a sticky header */
Copy file name to clipboardExpand all lines: resources/js/components/fieldtypes/bard/BardFieldtype.vue
+44Lines changed: 44 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -942,3 +942,47 @@ export default {
942
942
},
943
943
};
944
944
</script>
945
+
946
+
<style>
947
+
@layer ui {
948
+
/* This container query is inline because it breaks Vite's CSS compilation. Possibly because of the container query syntax and nesting */
949
+
.bard-fixed-toolbar {
950
+
/* While the fixed toolbar is "stuck", mask the focus state of the editor to prevent blue focus lines appearing around the side of the toolbar while scrolling */
0 commit comments