fix: richtext sticky toolbar within block

This commit is contained in:
James
2021-01-24 15:03:03 -05:00
parent 72427f8f39
commit 8218343b6c
2 changed files with 7 additions and 12 deletions

View File

@@ -62,3 +62,9 @@
}
}
}
.field-type.blocks {
.rich-text__toolbar {
top: base(7);
}
}

View File

@@ -59,7 +59,7 @@ $style-stroke-width-m : 2px;
// MISC
//////////////////////////////
$top-header-offset: base(4);
$top-header-offset: calc(#{base(4)} - 1px);
$top-header-offset-m: base(3);
$focus-box-shadow: 0 0 0 $style-stroke-width-m $color-green;
@@ -159,17 +159,6 @@ $focus-box-shadow: 0 0 0 $style-stroke-width-m $color-green;
}
}
// Thanks, Klarna:
// &:-webkit-autofill {
// animation-name: onAutoFillStart;
// transition: background-color 50000s ease-in-out 0s;
// }
// &:not(:-webkit-autofill) {
// animation-name: onAutoFillCancel;
// }
@include small-break {
margin-bottom: base(.5);
}