Skip to content

Commit 262707d

Browse files
authored
Merge pull request #72 from smalruby/ruby_tab_style
Rubyタブのエディタ部分の角を丸くしました
2 parents a311080 + 8bfc6e8 commit 262707d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/containers/ruby-tab.jsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ const RubyTab = ({rubyCode}) => (
1919
showInvisibles: true
2020
}}
2121
style={{
22-
fontFamily: ['Monaco', 'Menlo', 'Consolas', 'source-code-pro', 'monospace']
22+
fontFamily: ['Monaco', 'Menlo', 'Consolas', 'source-code-pro', 'monospace'],
23+
borderTopRightRadius: '0.5rem',
24+
borderBottomRightRadius: '0.5rem',
25+
border: '1px solid hsla(0, 0%, 0%, 0.15)'
2326
}}
2427
theme="clouds"
2528
value={rubyCode}

0 commit comments

Comments
 (0)