Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix release issues #1421

Merged
merged 2 commits into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/lang/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -1620,7 +1620,7 @@
"openSwap": "Открыть своп",
"introTitle": "Открывайте позиции & Зарабатывайте с {Kensetsu}",
"introDescription": "Почувствуйте легкость и безопасность в заеме и кредитовании. Откройте заемные позиции с платформой {Kensetsu}.",
"disclaimerDescription": "Заимствование цифровых активов через {Polkaswap} сопряжено с существенными рисками, за которые вы несете ответственность. Стоимость цифровых активов крайне волатильна, и любые изменения в рыночных ценах активов, которые вы заимствовали или использовали в качестве залога, могут привести к значительным финансовым потерям, возможно даже ...",
"disclaimerDescription": "Заимствование цифровых активов через {Polkaswap} сопряжено с существенными рисками, за которые вы несете ответственность. Стоимость цифровых активов крайне волатильна, и любые изменения в рыночных ценах активов, которые вы заимствовали или использовали в качестве залога, могут привести к значительным финансовым потерям.",
"availableToBorrow": "Доступно для займа",
"availableToBorrowDescription": "Оставшаяся сумма, которую вы имеете право взять при текущих условиях вашей позиции, на основе вашего внесенного залога и существующем долге.",
"collateralDetails": "Детали залога",
Expand Down
6 changes: 6 additions & 0 deletions src/modules/vault/components/ExploreCollaterals.vue
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,8 @@ $container-max: 100vw;
$container-max-width: calc($container-max - $container-paddings - var(--sidebar-width));
$container-max-width--collapsed: calc($container-max - $container-paddings - $sidebar-collapsed-width);

$min_breakpoint_large-mobile: $breakpoint_large-mobile - 1px;

.collaterals {
&-container {
display: flex;
Expand All @@ -318,6 +320,10 @@ $container-max-width--collapsed: calc($container-max - $container-paddings - $si
padding: $inner-spacing-big $inner-spacing-tiny;
box-shadow: var(--s-shadow-element-pressed);

@media (min-width: $min_breakpoint_large-mobile) and (max-width: 577px) {
max-width: 414px; // TODO: improve this exception related to the responsive design
}

@include tablet {
width: 100%;
max-width: $container-max-width;
Expand Down
4 changes: 2 additions & 2 deletions src/modules/vault/views/Vaults.vue
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ export default class Vaults extends Mixins(

@Watch('windowWidth')
onWindowWidthChange(): void {
let pageAmount = this.pageAmount;
let pageAmount: number;
if (this.windowWidth <= DsBreakpoints.sm) {
pageAmount = 2;
} else if (this.windowWidth <= DsBreakpoints.lg) {
Expand All @@ -329,7 +329,7 @@ export default class Vaults extends Mixins(
}

get showDropdown(): boolean {
return this.screenBreakpointClass === BreakpointClass.Mobile;
return [BreakpointClass.Mobile, BreakpointClass.LargeMobile].includes(this.screenBreakpointClass);
}

get tabs(): Array<ResponsiveTab> {
Expand Down