Merge pull request #3736 from urbit/mp/launch/tile-regression

interface: enforce border radius
This commit is contained in:
matildepark 2020-10-20 00:27:47 -04:00 committed by GitHub
commit 431bd0663c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 5 deletions

View File

@ -47,11 +47,9 @@ export default class LaunchApp extends React.Component {
p={2}
>
<Tile
border={1}
bg="#fff"
borderColor="green"
color="green"
to="/~landscape/home"
boxShadow='none'
p={0}
>
<Box p={2} height='100%' width='100%' bg='washedGreen'>

View File

@ -30,7 +30,7 @@ export default class Tile extends React.Component {
borderRadius={2}
overflow="hidden"
bg={bg || "white"}
color='washedGray'
color={props?.color || 'washedGray'}
boxShadow={boxShadow || '0 0 0px 1px inset'}
>
<Box

View File

@ -93,7 +93,7 @@ export default class WeatherTile extends React.Component {
weatherStyle = { bg: 'white', text: 'black' }
) {
return (
<Tile bg={weatherStyle.bg} color={weatherStyle.text}>
<Tile bg={weatherStyle.bg}>
{child}
</Tile>
);

View File

@ -105,6 +105,7 @@ export function Sidebar(props: SidebarProps) {
width="100%"
gridRow="1/2"
gridColumn="1/2"
borderTopLeftRadius='2'
borderRight={1}
borderRightColor="washedGray"
overflowY="scroll"