mirror of
https://github.com/urbit/shrub.git
synced 2024-12-01 06:35:32 +03:00
Merge pull request #3736 from urbit/mp/launch/tile-regression
interface: enforce border radius
This commit is contained in:
commit
431bd0663c
@ -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'>
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
);
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user