Skip to content

Commit

Permalink
chore: remove unnecessary constants #2025
Browse files Browse the repository at this point in the history
  • Loading branch information
marek-mihok authored and mturoci committed Sep 6, 2023
1 parent 76120e9 commit e3768cf
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions ui/src/copyable_text.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ import React from 'react'
import { stylesheet } from 'typestyle'
import { clas, cssVar, pc } from './theme'

const
BUTTON_HEIGHT = 24,
BUTTON_WIDTH = 34

const
css = stylesheet({
Expand All @@ -20,8 +17,8 @@ const
btn: {
position: 'absolute',
minWidth: 'initial',
width: BUTTON_WIDTH,
height: BUTTON_HEIGHT,
width: 34,
height: 24,
right: 0,
transform: 'translate(-4px, 4px)',
outlineWidth: 1,
Expand Down

0 comments on commit e3768cf

Please sign in to comment.