UNPKG

@tabnews/ui

Version:
19 lines (18 loc) 628 B
import { jsx as y } from "react/jsx-runtime"; function o({ mode: t, height: i }) { return /* @__PURE__ */ y("style", { jsx: "true", children: ` .bytemd-toolbar-icon.bytemd-tippy.bytemd-tippy-right:nth-of-type(1), .bytemd-toolbar-icon.bytemd-tippy.bytemd-tippy-right:nth-of-type(4) { display: ${t !== "split" ? "none" : "inline-block"}; } .bytemd-toolbar-icon.bytemd-tippy.bytemd-tippy-right:nth-of-type(6) { display: ${t === "split" ? "none" : "inline-block"}; } .bytemd-body { height: ${i}; } ` }); } export { o as EditorStyles };