Commit 535646ab authored by Muhammadali's avatar Muhammadali

update-

parent f3ac1f09
...@@ -56,9 +56,7 @@ const BxMiniWidjetUi = ({ ...@@ -56,9 +56,7 @@ const BxMiniWidjetUi = ({
<div className='bottom'> <div className='bottom'>
<BxMiniWidjetUiStyle.StatusLine <BxMiniWidjetUiStyle.StatusLine
status={colorTypeFunc({ reason, widjetState }) || ''}> status={colorTypeFunc({ reason, widjetState }) || ''}>
<p className='verison'> <p className='verison'>v {widjetVersion}</p>
v <span>{widjetVersion}</span>
</p>
</BxMiniWidjetUiStyle.StatusLine> </BxMiniWidjetUiStyle.StatusLine>
</div> </div>
</BxMiniWidjetUiStyle> </BxMiniWidjetUiStyle>
...@@ -66,6 +64,3 @@ const BxMiniWidjetUi = ({ ...@@ -66,6 +64,3 @@ const BxMiniWidjetUi = ({
}; };
export default BxMiniWidjetUi; export default BxMiniWidjetUi;
// placeholder={translator.translate(
// 'AUTH_FORM_LOGIN_PLACEHOLDER',
// )}
...@@ -98,21 +98,18 @@ BxMiniWidjetUiStyle.StatusLine = styled.div` ...@@ -98,21 +98,18 @@ BxMiniWidjetUiStyle.StatusLine = styled.div`
height: 100%; height: 100%;
border-bottom-left-radius: 30px; border-bottom-left-radius: 30px;
border-bottom-right-radius: 30px; border-bottom-right-radius: 30px;
/* background-color: ${({ status = '' }) =>
status === 'pending'
? 'orange'
: status === 'connected'
? '#a0c13d'
: '#ccc'}; */
${({ status }) => (status ? status : {})} ${({ status }) => (status ? status : {})}
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: flex-end; justify-content: center;
padding: 0 10px 0 0; padding: 0;
.verison { .verison {
font-size: 10px; font-size: 10px;
font-weight: bold; font-weight: bold;
float: right; float: right;
margin: 0;
padding: 0;
} }
`; `;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment