This repository was archived by the owner on Sep 14, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +15
-3
lines changed Expand file tree Collapse file tree 4 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ export const App: FC = () => {
6060 </ Col >
6161 </ Row >
6262 < Row >
63- < Col >
63+ < Col className = "bottom-col" >
6464 < Tabs >
6565 < Tab eventKey = "rules" title = "Rules" >
6666 < RuleConfig
@@ -77,7 +77,7 @@ export const App: FC = () => {
7777 </ Tab >
7878 </ Tabs >
7979 </ Col >
80- < Col >
80+ < Col className = "bottom-col" >
8181 { linter === null ? (
8282 < div >
8383 < Spinner animation = "border" role = "status" variant = "primary" >
Original file line number Diff line number Diff line change 11import React from "react" ;
22import type { FC } from "react" ;
3+ import "@/css/fixed.css" ;
34
45interface Props {
56 code : string ;
67}
78
8- export const Fixed : FC < Props > = ( { code } ) => < pre > { code } </ pre > ;
9+ export const Fixed : FC < Props > = ( { code } ) => (
10+ < pre className = "fixed-code" > { code } </ pre >
11+ ) ;
Original file line number Diff line number Diff line change 77.row {
88 margin-top : 20px ;
99}
10+ .bottom-col {
11+ overflow : auto;
12+ }
1013.versions {
1114 float : right;
1215}
Original file line number Diff line number Diff line change 1+ .fixed-code {
2+ background : # f5f5f5 ;
3+ border : 1px solid # ccc ;
4+ border-radius : 4px ;
5+ padding : 10px ;
6+ }
You can’t perform that action at this time.
0 commit comments