[🐛] Fix clock text alignment
This commit is contained in:
parent
c196296f6e
commit
e074fab437
3 changed files with 5 additions and 12 deletions
|
|
@ -22,16 +22,6 @@ export default class FilesApp implements App {
|
||||||
height: 400
|
height: 400
|
||||||
})
|
})
|
||||||
|
|
||||||
try {
|
|
||||||
await fs.mkdir('/home', () => {})
|
|
||||||
await fs.mkdir('/home/meow', () => {})
|
|
||||||
} catch (e) {}
|
|
||||||
try {
|
|
||||||
await fs.writeFile('/home/owo1.txt', 'sussy', () => {})
|
|
||||||
await fs.writeFile('/home/owo2.html', '<body></body>', () => {})
|
|
||||||
await fs.writeFile('/home/owo.js', 'alert(`hi`)', () => {})
|
|
||||||
} catch (e) {}
|
|
||||||
|
|
||||||
win.content.style.display = 'flex'
|
win.content.style.display = 'flex'
|
||||||
win.content.style.flexDirection = 'column'
|
win.content.style.flexDirection = 'column'
|
||||||
|
|
||||||
|
|
@ -40,7 +30,11 @@ export default class FilesApp implements App {
|
||||||
const back = dir === '/' ? '<i class=\'bx bx-arrow-to-left\'></i>' : '<i class=\'back bx bx-left-arrow-alt\'></i>'
|
const back = dir === '/' ? '<i class=\'bx bx-arrow-to-left\'></i>' : '<i class=\'back bx bx-left-arrow-alt\'></i>'
|
||||||
|
|
||||||
win.content.innerHTML = `
|
win.content.innerHTML = `
|
||||||
<div style="padding: 5px;display: flex;align-items: center;">${back}${dir}</div>
|
<div style="padding: 5px;display: flex;align-items: center;gap: 5px;">
|
||||||
|
${back}${dir}
|
||||||
|
<div style="flex:1;"></div>
|
||||||
|
<i class='bx bxs-folder-plus' style="font-size: 20px;"></i><i class='bx bxs-file-plus' style="font-size: 20px;"></i>
|
||||||
|
</div>
|
||||||
<div class="files" style="background: var(--base);flex: 1;border-radius: 10px;display: flex;flex-direction: column;"></div>
|
<div class="files" style="background: var(--base);flex: 1;border-radius: 10px;display: flex;flex-direction: column;"></div>
|
||||||
`
|
`
|
||||||
|
|
||||||
|
|
|
||||||
BIN
src/assets/icons/terminal.png
Normal file
BIN
src/assets/icons/terminal.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 85 KiB |
|
|
@ -57,7 +57,6 @@ toolbar {
|
||||||
box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1), 0 0px 10px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1), 0 0px 10px rgba(0, 0, 0, 0.1);
|
||||||
height: 40px!important;
|
height: 40px!important;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
|
||||||
|
|
||||||
app {
|
app {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue