Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #433 from sandeep-deriv/sandeep/fix-disclaimer-uno…
Browse files Browse the repository at this point in the history
…fficial-app

chore: ⚡ fixed official versioning warning for mobile
  • Loading branch information
sandeep-deriv authored Mar 27, 2024
2 parents a9ae1aa + b7f56f1 commit 83b82e1
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 18 deletions.
25 changes: 25 additions & 0 deletions src/assets/css/bot.scss
Original file line number Diff line number Diff line change
Expand Up @@ -224,3 +224,28 @@ label {
overflow: auto;
z-index: 10001 !important;
}

.version-warning {
position: fixed;
background-color: #2a3052;
font-size: 12px;
bottom: 36px;
width: 100%;
height: 24px;
z-index: 99999;
color: #ffffff;
display: flex;
align-items: center;
justify-content: center;
a {
color: #ffffff;
text-decoration: underline;
}

@include mobile {
height: 24px;
text-align: center;
bottom: 0;
font-size: 10px;
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import { translate } from '@i18n';
import './official-version-warning.scss';

const OfficialVersionWarning = ({ show }) =>
show ? (
Expand Down
17 changes: 0 additions & 17 deletions src/botPage/view/react-components/official-version-warning.scss

This file was deleted.

0 comments on commit 83b82e1

Please sign in to comment.