Skip to content

Commit

Permalink
0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminAster committed Sep 26, 2024
1 parent c97b988 commit eda0b9a
Show file tree
Hide file tree
Showing 16 changed files with 321 additions and 352 deletions.
322 changes: 144 additions & 178 deletions src/app.tsx

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/components/editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export default () => {
@layer elements {
& {
block-size: 100%;
--split-proportion: 0.5;
display: flex;
box-sizing: border-box;
/* background-color: var(--gray-1); */
Expand Down
2 changes: 1 addition & 1 deletion src/components/files.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default () => {
</nav>

<div className="main-area">
<h2 on:click={() => alert} className="icon:folder">Folders</h2>
<h2 className="icon:folder">Folders</h2>

<ul className="items folders">
<template>
Expand Down
2 changes: 1 addition & 1 deletion src/components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { css } from "winzig";

export default () => {
return <div>
return <div className="header">
<header>
<img src="./assets/icon.svg" className="logo" alt="icon of PAMM" width={1} height={1} />
<h1 className="title">PAMM</h1>
Expand Down
18 changes: 2 additions & 16 deletions src/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
background: none;
}

c-header, dialog {
.header, dialog {
display: none;
}
}
Expand All @@ -44,20 +44,6 @@
}
}

c-editor {
display: block;
block-size: 100%;
--split-proportion: 0.5;
}

c-header {
display: block;
}

c-files {
display: block;
}

@layer main {
@media not print {
:root:not(.light-theme) {
Expand Down Expand Up @@ -428,7 +414,7 @@ c-files {
}

&[data-transition="toggling-layout"] {
& c-header {
& .header {
view-transition-name: header;
}

Expand Down
Loading

0 comments on commit eda0b9a

Please sign in to comment.