Skip to content

Conversation

@manasmanohar
Copy link
Contributor

@manasmanohar manasmanohar commented Dec 19, 2024

Hotfix: Fix Safari clipboard copy issue by disabling Tailwind preflight #480

Overview

This PR addresses clipboard functionality issues in Safari. Additional styling adjustments were necessary due to conflicts arising from the solution.

Changes Made

  • Disabled Tailwind preflight to resolve Safari clipboard issues
  • Adjusted primary colors to maintain compatibility with Docusaurus' default color scheme
  • Updated font size and line height for better consistency
  • Added viewBox attributes to YouTube and GitHub icons to prevent cropping
  • Removed Roboto Bold from Tailwind config to address h3 and highlighted text font fallback issues (not related to this fix)

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

Testing Instructions

  1. Run npm run build and npm run serve to verify changes
  2. Please include screenshots of command outputs
  3. Add screenshots/GIFs demonstrating the changes if possible

Checklist

  • Code follows project style guidelines
  • Completed self-review of code
  • Tested in Safari browser
  • Verified clipboard functionality works as expected

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Thank you and congratulations 🎉 for opening your very first pull request in keploy

…ht CSS

- These broke after disabling preflight, so the following adjustments were made:
  - Adjust primary colors to resolve conflict with Docusaurus' default color
  - Update font size and line height
  - Add viewBox for YouTube and GitHub icons to prevent cropping
- Remove Roboto Bold in Tailwind config to prevent fallback to Times in h3 and highlighted text (separate CSS conflict, not related to this hotfix)

Signed-off-by: manasmanohar <21006907+manasmanohar@users.noreply.github.com>
@manasmanohar manasmanohar force-pushed the fix-safari-clipboard-copy-issue branch from 5bc36da to 6d36e6f Compare December 19, 2024 07:29
@nehagup nehagup merged commit 8edd4bb into keploy:main Dec 19, 2024
2 checks passed
github-actions bot pushed a commit that referenced this pull request Dec 19, 2024
…ht CSS (#480)

- These broke after disabling preflight, so the following adjustments were made:
  - Adjust primary colors to resolve conflict with Docusaurus' default color
  - Update font size and line height
  - Add viewBox for YouTube and GitHub icons to prevent cropping
- Remove Roboto Bold in Tailwind config to prevent fallback to Times in h3 and highlighted text (separate CSS conflict, not related to this hotfix)

Signed-off-by: manasmanohar <21006907+manasmanohar@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants