[🐛] Fix clock text alignment

This commit is contained in:
ThinLiquid 2023-10-17 02:50:05 +01:00
parent c196296f6e
commit e074fab437
3 changed files with 5 additions and 12 deletions

View file

@ -22,16 +22,6 @@ export default class FilesApp implements App {
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.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>'
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>
`

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

View file

@ -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);
height: 40px!important;
display: flex;
align-items: center;
app {
display: flex;