mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 06:28:54 +00:00
adjust IconButton appearance
This commit is contained in:
1 parent
181bc1b050
commit
251551b682
1 file changed
+3
-3
@@ -9,7 +9,7 @@ interface Props {
|
|||||||
|
|
||||||
const IconButton: React.FC<Props> = (props) => {
|
const IconButton: React.FC<Props> = (props) => {
|
||||||
const iconStyles: React.CSSProperties = {
|
const iconStyles: React.CSSProperties = {
|
||||||
fontSize: '1.7rem',
|
fontSize: '1.3rem',
|
||||||
paddingRight: props.side === 'left' && '0.6rem',
|
paddingRight: props.side === 'left' && '0.6rem',
|
||||||
paddingLeft: props.side === 'right' && '0.6rem',
|
paddingLeft: props.side === 'right' && '0.6rem',
|
||||||
verticalAlign: 'center',
|
verticalAlign: 'center',
|
||||||
@@ -20,8 +20,8 @@ const IconButton: React.FC<Props> = (props) => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
width: 'fit-content',
|
width: 'fit-content',
|
||||||
height: '3rem',
|
fontWeight: '600',
|
||||||
padding: '0.8rem',
|
padding: '0.5rem',
|
||||||
borderRadius: '0.2rem',
|
borderRadius: '0.2rem',
|
||||||
verticalAlign: 'baseline',
|
verticalAlign: 'baseline',
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
|
|||||||
Reference in new issue
Block a user