Skip to content

Commit a9bdb40

Browse files
committed
Hide bottom border on compact editor components
1 parent efcb649 commit a9bdb40

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/lib/components/contents/details/fields/rich-text/editor-component.svelte

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -567,8 +567,9 @@
567567
&:is([data-component-name='image'], [data-component-name='linked-image']) {
568568
:global {
569569
@media (768px <= width) {
570-
[data-field-type] {
571-
border-width: 0;
570+
/* Hide the bottom border */
571+
[data-field-type]::after {
572+
display: none;
572573
}
573574
574575
[data-field-type='string'] {

0 commit comments

Comments
 (0)