File tree Expand file tree Collapse file tree
editor-packages/editor-canvas/frame-title Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,5 +93,7 @@ export const FrameTitleLabel = styled.span<{
9393} > `
9494 color: ${ ( p ) => p . color } ;
9595 user-select: none;
96+ overflow: hidden;
9697 text-overflow: ellipsis;
98+ white-space: nowrap;
9799` ;
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { useGesture } from "@use-gesture/react";
44import useMeasure from "react-use-measure" ;
55import { Resizable } from "re-resizable" ;
66import { ZoomControl } from "./controller-zoom-control" ;
7+ import { colors } from "theme" ;
78
89/**
910 * A React Hook that returns a delta state.
@@ -156,12 +157,13 @@ export function IsolatedCanvas({
156157
157158const ExitButton = styled . button `
158159 align-self: center;
160+ background-color: ${ colors . color_editor_bg_on_dark } ;
161+ box-shadow: ${ colors . color_editor_bg_on_dark } 0px 0px 0px 16px inset;
159162 outline: none;
160163 border: none;
161164 cursor: pointer;
162- background: none;
163165 color: white;
164- border-radius: 2px ;
166+ border-radius: 4px ;
165167 height: 24px;
166168` ;
167169
You can’t perform that action at this time.
0 commit comments