diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-11-19 09:41:19 -0600 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-11-19 09:41:19 -0600 |
| commit | 33456f0477a3517a10b719c65c46ad547258b95e (patch) | |
| tree | f39bf7cd7ac2b0cb08f15ee367c2d7bba2464ef1 /src | |
| parent | 1706adaf0e6e1c462f1ce439369e96f1fdab1a18 (diff) | |
| download | slskd-33456f0477a3517a10b719c65c46ad547258b95e.tar.gz | |
make options full height
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/src/components/System/System.css | 4 | ||||
| -rw-r--r-- | src/web/src/components/System/System.js | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/web/src/components/System/System.css b/src/web/src/components/System/System.css index a0068963..63817287 100644 --- a/src/web/src/components/System/System.css +++ b/src/web/src/components/System/System.css @@ -22,4 +22,8 @@ .logs { min-height: 100px; +} + +.full-height { + height: calc(100vh - 175px); }
\ No newline at end of file diff --git a/src/web/src/components/System/System.js b/src/web/src/components/System/System.js index bbba292d..08253c7a 100644 --- a/src/web/src/components/System/System.js +++ b/src/web/src/components/System/System.js @@ -19,7 +19,7 @@ class System extends Component { <Segment raised> <Tab panes={[ { menuItem: 'Info', render: () => <Tab.Pane><Info state={this.props.state}/></Tab.Pane> }, - { menuItem: 'Options', render: () => <Tab.Pane><Options options={this.props.options}/></Tab.Pane> }, + { menuItem: 'Options', render: () => <Tab.Pane className='full-height'><Options options={this.props.options}/></Tab.Pane> }, { menuItem: 'Logs', render: () => <Tab.Pane><Logs/></Tab.Pane> }, ]}/> </Segment> |
