Skip to content

Commit

Permalink
Merge pull request #614 from input-output-hk/filip/fix/daedalus
Browse files Browse the repository at this point in the history
filip(fix): remove no-cord policy and adjust navbar fonts
  • Loading branch information
fstoqnov-iohk authored May 14, 2024
2 parents e26a38f + 7f7c8b4 commit 37e49f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/components/WalletDownloaders.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import Markdown from '@input-output-hk/front-end-core-components/components/Mark
import { FaDownload, FaCogs } from 'react-icons/fa'
import { MdClose } from 'react-icons/md'

import testnetsTheme from '../components/utils/testnetsTheme'
import content from '../components/utils/testnetsContent'
import testnetsTheme from './utils/testnetsTheme'
import content from './utils/testnetsContent'

const LoadingContainer = styled.div`
position: relative;
Expand Down Expand Up @@ -190,7 +190,7 @@ const WalletDownloaders = ({ env }) => {
try {
setLoading(true)

const result = await fetch(envs[env].endpoint, { mode: 'no-cors' })
const result = await fetch(envs[env].endpoint)

const jsonResult = await result.json()
if (!validateData(jsonResult)) throw new Error('Invalid data')
Expand Down
4 changes: 3 additions & 1 deletion src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,12 @@ body {
}

.navbar__link {
font-size: 13.8px;
font-size: 14px;
color: #fff !important;
font-family: 'Chivo', Helvetica, Arial, sans-serif;
font-weight: 600;
overflow: hidden;
padding: var(--ifm-navbar-item-padding-vertical) 0.57rem !important;
}

.dropdown__menu {
Expand Down

1 comment on commit 37e49f2

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for cardano-documentation ready!

✅ Preview
https://cardano-documentation-i0sc22nz3-iog.vercel.app
https://cardano-documentation.vercel.app

Built with commit 37e49f2.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.