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: navpills alignment to center #719

Closed
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
21 changes: 12 additions & 9 deletions .github/workflows/percy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,24 @@ jobs:
generate-snapshots:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Check out the repository
uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: npm install

# Runs a single command using the runners shell
- name: Run echo script
run: echo Starting the screenshot process
run: echo "Starting the screenshot process"

- name: Percy Test
uses: percy/[email protected]
with:
# build-directory: # optional, default is
# CLI flags to pass to `percy snapshot`
# flags: # optional, default is
# Enable verbose logging
verbose: true
build_directory: '../../'
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}

Expand Down
6 changes: 5 additions & 1 deletion css/navbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ nav li a:hover {
padding: 0;
overflow: hidden;
background-color: var(--color-nav);
display: flex;
align-items: center;
}

.nav-logo-li {
Expand All @@ -54,8 +56,10 @@ nav li a:hover {
}

.nav-login-li {
float: right;
padding: 0.2rem;
display: flex;
flex-grow: 1;
justify-content: flex-end;
}

.nav-login-li a {
Expand Down
Loading
Loading