Compare commits

..

No commits in common. "ce9a9c5915a2a319b14c34c971dd4569b446b34b" and "0b544fc507fcad403bbb928553b7e1ebba17bc92" have entirely different histories.

13 changed files with 6 additions and 13 deletions

View file

@ -1,6 +1,6 @@
import { style } from '@vanilla-extract/css';
import * as colors from '../../colors.css';
import * as colors from '../colors.css';
export const download_tty = style({
display: 'block',

View file

@ -107,7 +107,3 @@ export const download_tty_group = style({
},
});
export const wrapper = style({
overflowX: 'scroll',
paddingBottom: '1em',
});

View file

@ -1,8 +1,8 @@
import type { Metadata } from 'next';
import Image from 'next/image';
import DownloadTTY from './components/download_tty';
import Content from './components/content';
import DownloadTTY from './download_tty';
import Content from './content';
import * as style from './page.css';
import download_image_dark from './download_dark.svg';
import download_image_light from './download_light.svg';
@ -68,11 +68,8 @@ export default async function Page({
<div className={style.download_tty_group}>
{download_ttys.map((text, index) => <DownloadTTY key={index} text={text} />)}
</div>
<div className={style.wrapper}>
<Content src={`${root}${path}`} />
</div>
</div>
</div>
);
}

View file

@ -1,6 +1,6 @@
import { style } from '@vanilla-extract/css'
import * as colors from '../../../colors.css'
import * as colors from '../../colors.css'
export const group = style({
display: 'flex',
@ -9,6 +9,7 @@ export const group = style({
lineHeight: '1.4em',
whiteSpace: 'pre',
tabSize: 4,
overflowX: 'scroll',
'@media': {
'screen and (min-width: 768px)': {
fontSize: '1.1em',
@ -22,5 +23,4 @@ export const line_numbers = style({
paddingRight: '0.5em',
color: colors.foreground2,
textAlign: 'right',
userSelect: 'none',
});