Skip to content

Commit

Permalink
fix(addon-mobile): MobileTabs update iOS design (#4722) (#5131)
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Inkin <[email protected]>
  • Loading branch information
vladimirpotekhin and waterplea authored Aug 17, 2023
1 parent 844475d commit 40876c2
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-add-to-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ jobs:
- uses: actions/[email protected]
with:
project-url: https://github.com/orgs/Tinkoff/projects/3
github-token: ${{ secrets.TINKOFF_BOT_PAT }}
github-token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
2 changes: 1 addition & 1 deletion .github/workflows/auto-author-assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
- uses: toshimaru/[email protected]
if: ${{ env.IS_FORK == 'false' && env.IS_DEPENDABOT == 'false' }}
with:
repo-token: ${{ secrets.TINKOFF_BOT_PAT }}
repo-token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
2 changes: 1 addition & 1 deletion .github/workflows/auto-rebase-v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:
uses: peter-evans/rebase@v2
with:
base: v3.x
token: ${{ secrets.TINKOFF_BOT_PAT }}
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
head: 'Tinkoff:*'
include-labels: 'v3.0 candidates'
2 changes: 1 addition & 1 deletion .github/workflows/auto-rebase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:
uses: peter-evans/rebase@v2
with:
base: main
token: ${{ secrets.TINKOFF_BOT_PAT }}
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
head: 'Tinkoff:*'
include-labels: 'autorebase'
4 changes: 2 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
with:
fetch-depth: 0
ref: ${{ github.head_ref }}
token: ${{ secrets.TINKOFF_BOT_PAT }}
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}

- name: Setup Node.js and Cache
uses: ./.github/actions/nodejs
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
if: ${{ env.IS_DRY_MODE == 'false' }}
with:
delete-branch: true
token: ${{ secrets.TINKOFF_BOT_PAT }}
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
branch: release/${{ steps.run-release.outputs.new_version }}
title: '🚀 Release/v${{ steps.run-release.outputs.new_version }}'
body: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.TINKOFF_BOT_PAT }}
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
fetch-depth: 2
- name: Fetch from forked repo
if: ${{ env.IS_FORK == 'true' || env.IS_DEPENDABOT == 'true' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
REPO: self
FOLDER: ${{ env.DIST }}/next
BRANCH: snapshots/demo/next/${{ github.head_ref || github.ref_name }}
GITHUB_TOKEN: ${{ secrets.TINKOFF_BOT_PAT }}
GITHUB_TOKEN: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}

snapshots-of-release:
if: ${{ contains(github.head_ref || github.ref_name, 'release/') }}
Expand All @@ -48,7 +48,7 @@ jobs:
REPO: self
FOLDER: ${{ env.DIST }}
BRANCH: snapshots/demo/v${{ steps.nodejs-workspace.outputs.root-package-major-version }}.x
GITHUB_TOKEN: ${{ secrets.TINKOFF_BOT_PAT }}
GITHUB_TOKEN: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}

concurrency:
group: snapshots-${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
@import 'taiga-ui-local';

tui-tabs[tuiMobileTabs],
[tuiMobileTabs] tui-tabs {
[tuiTabs][tuiMobileTabs],
[tuiMobileTabs] tui-tabs,
[tuiMobileTabs] [tuiTabs] {
&[data-platform='android'] {
height: auto;

Expand Down Expand Up @@ -38,8 +40,9 @@ tui-tabs[tuiMobileTabs],
height: auto;
border: 2px solid transparent;
border-radius: 0.5625rem;
background: var(--tui-link);
background: var(--tui-clear);
box-shadow: none;
overflow: visible;

tui-underline {
border-radius: 0.4375rem;
Expand All @@ -52,22 +55,16 @@ tui-tabs[tuiMobileTabs],
flex: 1;
flex-shrink: 0;
justify-content: center;
color: var(--tui-base-01);
color: var(--tui-text-01);
opacity: 1;
font-size: 0.8125rem;
font-weight: 500;
font-weight: 600;
letter-spacing: -0.005rem;
font-family: -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;

&:hover {
box-shadow: none;
}

&._active {
font-size: 0.875rem;
font-weight: 600;
color: var(--tui-link);
}
}
}
}

0 comments on commit 40876c2

Please sign in to comment.