Replaced at="large with greaterThanOrEqual="large"

Based on warnings in the console
This commit is contained in:
Przemek Wiech 2021-11-02 00:07:26 +01:00
parent 2d4ca439d5
commit e444e25177
4 changed files with 5 additions and 5 deletions

View File

@ -538,7 +538,7 @@ class AppComponent extends React.Component<
colors={this.state.config.color}
/>
{this.state.showSidePanel ? (
<Media at="large" className="sidePanel">
<Media greaterThanOrEqual="large" className="sidePanel">
<Tab panes={sidePanelTabs} />
</Media>
) : null}

View File

@ -429,7 +429,7 @@ function ChartComponent(props: ChartComponentProps) {
return (
<div id="svgContainer">
<Media at="large" className="zoom">
<Media greaterThanOrEqual="large" className="zoom">
<button
className="zoom-in"
onClick={() => chartWrapper.current.zoom(ZOOM_FACTOR)}

View File

@ -128,7 +128,7 @@ export function Intro() {
<div id="content">
<div className="backgroundImage" />
<Card className="intro">
<Card.Content as={Media} at="large">
<Card.Content as={Media} greaterThanOrEqual="large">
<Card.Header>
<FormattedMessage
id="intro.title"
@ -137,7 +137,7 @@ export function Intro() {
</Card.Header>
</Card.Content>
<Card.Content>
<Grid as={Media} at="large">
<Grid as={Media} greaterThanOrEqual="large">
<Grid.Row>
<Grid.Column width={5}>
<Image src={logo} alt="Topola logo" />

View File

@ -347,7 +347,7 @@ export class TopBar extends React.Component<RouteComponentProps & Props> {
<>
<Menu
as={Media}
at="large"
greaterThanOrEqual="large"
attached="top"
inverted
color="blue"