Skip to content

Commit

Permalink
enh(#241): use whole screen size to unhide dock
Browse files Browse the repository at this point in the history
  • Loading branch information
luriusTM authored Oct 27, 2024
1 parent 13a80f2 commit b1cc596
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions src/apps/seelenweg/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,55 @@ body {
height: min-content;
width: min-content;

&:has(.taskbar.hidden)::after {
content: '';
position: fixed;
}

&:has(.taskbar.hidden.left) {
&::after {
bottom: 0;
left: 0;
width: 1px;
height: 100vh;
}

left: 0;
transition: left 0.2s ease-in-out;
}

&:has(.taskbar.hidden.right) {
&::after {
top: 0;
right: 0;
width: 1px;
height: 100vh;
}

right: 0;
transition: right 0.2s ease-in-out;
}

&:has(.taskbar.hidden.top) {
&::after {
top: 0;
right: 0;
width: 100vw;
height: 5px;
}

top: 0;
transition: top 0.2s ease-in-out;
}

&:has(.taskbar.hidden.bottom) {
&::after {
bottom: 0;
left: 0;
width: 100vw;
height: 1px;
}

bottom: 0;
transition: bottom 0.2s ease-in-out;
}
Expand Down

0 comments on commit b1cc596

Please sign in to comment.