Giter Site home page Giter Site logo

docs's People

Contributors

dependabot[bot] avatar ebebbington avatar gjzwiers avatar handlebauer avatar jcs224 avatar kawarimidoll avatar littledivy avatar martonlederer avatar maximousblk avatar michael-spengler avatar nnmrts avatar notfilippo avatar so1ve avatar steelalloy avatar t8 avatar tiloio avatar yamboy1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

docs's Issues

Badges are sized differently than standard shields

๐Ÿ› Bug Report

The nest large badge (for-the-badge) are differently sized than the standard shields used by shields.io

To Reproduce

Round example (flat style)

deno.land nest.land

Block example (flat-square style)

deno.land nest.land

Large example (for-the-badge style)

deno.land nest.land

Expected behavior

All the groups should be in the same style.

Actual Behavior

The large badge is different from shields.io size and style

Unexpected Layout on Narrow Desktop / iPad

Is your feature request related to a problem? If so, please describe.

When the window size changed to between $MQNarrow and $MQMobile (probably 959px and 719px in my observation), the width of the sidebar enlarged to 75vw unexpectedly. It caused the main content of the documentation hard to read.

Describe the solution you'd like

In /docs/.vuepress/theme/styles/mobile.styl:

...
// line 6
// narrow desktop / iPad
@media (max-width: $MQNarrow)
  .sidebar
    font-size 15px
-    width $mobileSidebarWidth

-  .navbar
-    .sidebar-bg-mask
-      width $mobileSidebarWidth

-  .page
-    padding-left $mobileSidebarWidth

  a.header-anchor
    margin-left -.4em

// wide mobile
@media (max-width: $MQMobile)
  .sidebar
+    width $mobileSidebarWidth
...

Remove the unexpected width of the sidebar and padding of the main content on narrow desktop / iPad. Keep the expected 75vw width of the sidebar on wide mobile.

Describe alternatives you've considered

N/A

Additional context

Before changing mobile.styl:

before-change

After changing mobile.styl:

after-change

[FEATURE] Adding "edit this page" links

In various documentation sites, they include a link to the source of the docs somewhere to encourage users to submit PRs if they deem necessary. I think that something like this would prove to be beneficial on our docs as well.

For example, the Arweave documentation has this:
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.