Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixos-homepage
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9e520d84097a
Choose a base ref
...
head repository: NixOS/nixos-homepage
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: df0d970a1d37
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Nov 4, 2020

  1. site-styles: Fix asciinema breaking width by removing aspect ratio code

    The reason there was that aspect ratio thing there was to, if I remember
    right, make the whole player fit in the height of a side-ways mobile
    device.
    
    Though I think I must have forgotten to finish implementing this, as
    instead it just resolved to using the default font sizes.
    
    Rather, let's do what works fine for every other sizes: a ratio of the
    device width.
    samueldr authored and garbas committed Nov 4, 2020
    Copy the full SHA
    8aa58a1 View commit details

Commits on Nov 5, 2020

  1. Merge pull request #637 from NixOS/fix-597

    site-styles: Fix asciinema breaking width by removing aspect ratio code
    garbas authored Nov 5, 2020
    1
    Copy the full SHA
    df0d970 View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 site-styles/components/asciinema.less
2 changes: 1 addition & 1 deletion site-styles/components/asciinema.less
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@

// vertical (portrait) and square aspect ratio
// In that case we set it as a fraction of the width.
@media screen and (max-aspect-ratio: ~"1/1") and (max-width: (@screen-sm-max)) {
@media screen and (max-width: (@screen-sm-max)) {
font-size: 1.65vw;
}
}