use smaller font for widgets and avoid wraps

This commit is contained in:
nikk gitanes
2021-07-30 03:41:06 +03:00
parent da0c18e5ea
commit 23aef5cab3

View File

@@ -258,15 +258,16 @@ export const WidgetFieldValue = styled.div`
}, },
}) => css` }) => css`
grid-area: value; grid-area: value;
padding: 0 20px; font-size: 24px;
padding: 0px 16px;
color: ${widgetFontColor}; color: ${widgetFontColor};
font-size: 25px;
background: ${bgColor}; background: ${bgColor};
border-radius: 0 5px 5px 0; border-radius: 0 5px 5px 0;
white-space: nowrap;
@media (max-width: 800px) { @media (max-width: 800px) {
font-size: 18px; font-size: 18px;
padding: 0 4px; padding: 0px 4px;
} }
`} `}
` `