mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-05 06:50:28 +03:00
move floating expand button to code block header
This commit is contained in:
parent
1807908f02
commit
739829331b
2 changed files with 22 additions and 21 deletions
|
|
@ -95,6 +95,7 @@ export const CodeBlock = style([
|
|||
export const CodeBlockHeader = style({
|
||||
padding: `0 ${config.space.S200} 0 ${config.space.S300}`,
|
||||
borderBottomWidth: config.borderWidth.B300,
|
||||
gap: config.space.S200,
|
||||
});
|
||||
export const CodeBlockInternal = style([
|
||||
CodeFont,
|
||||
|
|
@ -104,14 +105,14 @@ export const CodeBlockInternal = style([
|
|||
},
|
||||
]);
|
||||
|
||||
export const CodeBlockBottomBar = style({
|
||||
export const CodeBlockBottomShadow = style({
|
||||
position: 'absolute',
|
||||
bottom: 0,
|
||||
left: 0,
|
||||
right: 0,
|
||||
pointerEvents: 'none',
|
||||
|
||||
padding: config.space.S200,
|
||||
height: config.space.S400,
|
||||
background: `linear-gradient(to top, #00000022, #00000000)`,
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue