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(styles): optimize font-size for code block #697

Merged
merged 2 commits into from
Feb 1, 2022
Merged

Conversation

unix
Copy link
Member

@unix unix commented Feb 1, 2022

Checklist

  • Fix linting errors
  • Tests have been added / updated (or snapshots)

Change information

  • Reduce unnecessary font size calculations
  • Resize the font-size to match the page

@codecov
Copy link

codecov bot commented Feb 1, 2022

Codecov Report

Merging #697 (345e617) into rc (e632c3e) will increase coverage by 0.23%.
The diff coverage is n/a.

❗ Current head 345e617 differs from pull request most recent head 752c819. Consider uploading reports for the commit 752c819 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##               rc     #697      +/-   ##
==========================================
+ Coverage   99.59%   99.83%   +0.23%     
==========================================
  Files         197      195       -2     
  Lines        2994     2960      -34     
  Branches      683      678       -5     
==========================================
- Hits         2982     2955      -27     
+ Misses         12        5       -7     
Impacted Files Coverage Δ
components/css-baseline/css-baseline.tsx 100.00% <ø> (ø)
components/tabs/tabs-item.tsx 100.00% <0.00%> (ø)
components/tabs/tabs-context.ts 100.00% <0.00%> (ø)
components/shared/highlight.tsx
components/use-classes/use-classes.ts
components/shared/dropdown.tsx 97.67% <0.00%> (+1.12%) ⬆️
components/tabs/tabs.tsx 100.00% <0.00%> (+13.51%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e632c3e...752c819. Read the comment docs.

@unix unix merged commit a4d02ab into geist-org:rc Feb 1, 2022
@unix unix deleted the fix/styles branch February 1, 2022 15:18
unix added a commit that referenced this pull request Feb 5, 2022
* feat(button-dropdown): add icon config (#630)

* feature Update tabs-item.tsx (#658)

* feat(tabs): display hover effect by styles

Add highlight on Tabs component #653

* feat: redesign the render mode for tabs-item

* test(tabs): update snapshots for styles changes

* docs(tabs): append leftSpace attribute

Co-authored-by: nikhilgupta58 <nikhil@tartanhq.com>
Co-authored-by: unix <unix.bio@gmail.com>

* feat: add scale to password component (#685)

* feat: add scale to password component

* chore: update lib name for geist icons

* fix(tabs): fix type of left-space to match component input (#686)

* fix(tabs): fix type of left-space to match component input

* docs: improve header styles to follow tabs component

* feat(page): add props to control the style of dot (#687)

* docs: remove customization tab (#688)

* feat(image): allow component to render svg string (#692)

* feat(image): allow component to render svg string

* docs(image): update the image content of examples

* feat: export use-scale hooks (#693)

* chore: rename scaleable to scale

* docs: separate hooks as a tab to display more information

* docs: update document content to match the hooks section

* docs: refactor the component structure of the documentation site

* docs: skip title format when on hooks page

* fix(tabs): fix sub-components ignore theme changes (#694)

* docs: fix the layout of the document site (#695)

* feat(tabs): display highlight on tabs when mouse-in (#696)

* feat(use-classes): add tool to handle class name strings

* feat(highlight): add component follows the position of the current component

* feat(tabs): display highlight on tabs when mouse-in

* docs(tabs): append props

* test: fix paths for testcase

* fix(styles): optimize font-size for code block (#697)

* feat(code): add props for title text and optimize the styles (#698)

* feat(code): add props for title text and optimize the styles

* docs: extract the code block used for documentation into the components

* docs: redesign documentation styles (#699)

* docs: redesign documentation styles

* docs: remove underline from home tab

* fix(tabs): fix class names be accidentally add to all children

* docs: customize separate styles for instalation page (#700)

* chore: release v2.3.0-rc.0 (#701)

* fix: export use-scale hook and types in the entry

* fix(links): keep links consistent across typography (#703)

* fix(links): keep links consistent across typography

* docs: update hybrid-link to follow the geist component

* feat(button): slightly reduce the default width (#704)

* refactor: remove unnecessary filter for scale props (#705)

* docs: optimize the determination and rendering of relative url (#706)

* docs: fix tabs layout of install page (#707)

* feat(toast): redesign hooks to compatible with placement and styles (#708)

* feat(toast): redesign hooks to compatible with placement and styles

* docs: update APIs of Toast component

* feat(toast): slightly resize the action buttons to fit the overall layout

* fix(toast): restore the timer after remove the element from the stack top

* feat: remove the extra spaces in class-name (#709)

* feat: remove the extra spaces in class-name

* feat(button-dropdown): adjust the minimum width to follow the button component

* docs: add min font-size for documents that use the scale

* feat(tabs): allow to hide the border when tab is activated (#710)

* feat(tabs): allow to hide the border when tab is activated

* docs: remove style overrides from document sites for tabs

* docs: connect hooks with the component example page

* docs: add documentation for use-classes

* chore: release v2.3.0-rc.1 (#711)

* docs: add global search and text indexing (#712)

* feat(highlight): allow highlighting blocks to move laterally

* chore: add additional types for layout utils

* fix(keyboard): fix the ignore to trigger multiple keys at the same time

* docs: add global search and text indexing

* test: update snapshots

* docs: search with local data instead of algolia

* build(package): normalize the names of all commands

* chore: remove now-build

* chore: release v2.3.0 (#714)

* chore: release v2.3.0

* chore: resolve unexpected ring dependencies

Co-authored-by: Songhn <songhn233@gmail.com>
Co-authored-by: Nikhil kumar gupta <36965562+nikhilgupta58@users.noreply.github.com>
Co-authored-by: nikhilgupta58 <nikhil@tartanhq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant