Convert SegmentedControl component to Sass
This commit is contained in:
parent
234162bf31
commit
7e6547dfa1
2 changed files with 3 additions and 3 deletions
|
|
@ -1,12 +1,12 @@
|
||||||
.SegmentedControlWrapper {
|
.SegmentedControlWrapper {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
margin-bottom: 24px;
|
margin-bottom: $unit * 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
.SegmentedControl {
|
.SegmentedControl {
|
||||||
background: white;
|
background: white;
|
||||||
border-radius: 8px;
|
border-radius: $unit;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
position: relative;
|
position: relative;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
import './index.css'
|
import './index.scss'
|
||||||
|
|
||||||
interface Props {}
|
interface Props {}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue