mirror of
https://github.com/bakhirev/assayo.git
synced 2024-11-16 08:11:40 +00:00
update
This commit is contained in:
parent
77a7069dff
commit
e9de609e61
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -26,7 +26,7 @@ function LineTitle({
|
||||||
key={column.title}
|
key={column.title}
|
||||||
className={`${style.card_title} ${className || ''} ${columnClassName || ''}`}
|
className={`${style.card_title} ${className || ''} ${columnClassName || ''}`}
|
||||||
>
|
>
|
||||||
{value}
|
{value || '—'}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,10 @@ function getCardConfigs(
|
||||||
column: IColumn,
|
column: IColumn,
|
||||||
index: number,
|
index: number,
|
||||||
) => {
|
) => {
|
||||||
|
if (column.template === ColumnTypesEnum.DETAILS) {
|
||||||
|
return acc;
|
||||||
|
}
|
||||||
|
|
||||||
if (index === 0) {
|
if (index === 0) {
|
||||||
acc.text.push(column);
|
acc.text.push(column);
|
||||||
return acc;
|
return acc;
|
||||||
|
|
|
@ -27,14 +27,14 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&_legend {
|
&_legend {
|
||||||
min-width: 160px;
|
|
||||||
padding-left: var(--space-xxl);
|
padding-left: var(--space-xxl);
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
&_line {
|
&_line {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: block;
|
display: flex;
|
||||||
|
justify-content: flex-start;
|
||||||
padding: 0 0 var(--space-xxs) 26px;
|
padding: 0 0 var(--space-xxs) 26px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -63,4 +63,22 @@
|
||||||
&_percent {
|
&_percent {
|
||||||
width: 40px;
|
width: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&_text {
|
||||||
|
max-width: calc(100% - 40px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 700px) {
|
||||||
|
.pie_chart_icon,
|
||||||
|
.pie_chart_legend {
|
||||||
|
display: block;
|
||||||
|
height: auto;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
.pie_chart_legend {
|
||||||
|
width: 100%;
|
||||||
|
padding-left: 0;
|
||||||
|
margin-top: var(--space-xxl);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,6 @@ import { Modal, Header, Body, Footer } from 'ts/components/ModalWindow';
|
||||||
import Description from 'ts/components/Description';
|
import Description from 'ts/components/Description';
|
||||||
import RECOMMENDATION_TYPES from 'ts/helpers/Recommendations/contstants';
|
import RECOMMENDATION_TYPES from 'ts/helpers/Recommendations/contstants';
|
||||||
import localization from 'ts/helpers/Localization';
|
import localization from 'ts/helpers/Localization';
|
||||||
import isMobile from 'ts/helpers/isMobile';
|
|
||||||
|
|
||||||
import { getFormattedTitle, getDescriptionText } from '../helpers';
|
import { getFormattedTitle, getDescriptionText } from '../helpers';
|
||||||
import recommendationStore from '../store/index';
|
import recommendationStore from '../store/index';
|
||||||
|
@ -56,7 +55,7 @@ const RecommendationDescription = observer(() => {
|
||||||
</Body>
|
</Body>
|
||||||
<Footer className={style.recommendations_modal_footer}>
|
<Footer className={style.recommendations_modal_footer}>
|
||||||
<UiKitButton
|
<UiKitButton
|
||||||
mode={[ isMobile ? 'primary' : 'border', 'full_size']}
|
mode={[ 'border', 'full_size']}
|
||||||
className={style.recommendations_modal_button}
|
className={style.recommendations_modal_button}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
recommendationStore.close();
|
recommendationStore.close();
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
@import 'src/styles/variables';
|
@import 'src/styles/variables';
|
||||||
|
|
||||||
|
.ui_kit_select_with_buttons_wrapper + .ui_kit_wrapper,
|
||||||
.ui_kit_wrapper + .ui_kit_wrapper {
|
.ui_kit_wrapper + .ui_kit_wrapper {
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
margin-top: var(--space-l);
|
margin-top: var(--space-l);
|
||||||
|
|
|
@ -14,3 +14,15 @@
|
||||||
min-width: 350px;
|
min-width: 350px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 900px) {
|
||||||
|
.team_country_filter_select {
|
||||||
|
min-width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 700px) {
|
||||||
|
.team_country_filter_checkbox {
|
||||||
|
min-width: calc(49% - 24px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue