mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-07 08:26:15 +00:00
centered layout
This commit is contained in:
parent
4b6a932b19
commit
4bdc819dc2
3 changed files with 6 additions and 10 deletions
|
|
@ -1,3 +0,0 @@
|
|||
.tlui-dialog__overlay {
|
||||
position: fixed;
|
||||
}
|
||||
|
|
@ -21,4 +21,8 @@
|
|||
|
||||
.tlui-minimap__canvas {
|
||||
background: #1F2428 !important;
|
||||
}
|
||||
|
||||
.tlui-dialog__overlay {
|
||||
position: fixed;
|
||||
}
|
||||
|
|
@ -1,8 +1,4 @@
|
|||
import {
|
||||
BaseBoxShapeUtil,
|
||||
HTMLContainer,
|
||||
TLBaseShape,
|
||||
} from "tldraw";
|
||||
import { BaseBoxShapeUtil, HTMLContainer, TLBaseShape } from "tldraw";
|
||||
|
||||
type ITextCardShape = TLBaseShape<
|
||||
"Textcard",
|
||||
|
|
@ -22,14 +18,13 @@ export class textCardUtil extends BaseBoxShapeUtil<ITextCardShape> {
|
|||
}
|
||||
|
||||
component(s: ITextCardShape) {
|
||||
|
||||
return (
|
||||
<HTMLContainer className="flex h-full w-full items-center justify-center">
|
||||
<div
|
||||
style={{
|
||||
height: s.props.h,
|
||||
width: s.props.w,
|
||||
pointerEvents:"all",
|
||||
pointerEvents: "all",
|
||||
background: "#2C3439",
|
||||
borderRadius: "16px",
|
||||
padding: "8px 14px",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue