Skip to content

Commit c4fb02a

Browse files
committed
Create flexible sidechat for MinusX
1 parent 4e7bef4 commit c4fb02a

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

extension/src/content/content.styles.css

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
} */
2121

2222
#minusx-root {
23-
position: fixed;
23+
position: relative;
2424
top: 0;
2525
right: 0;
2626
border: 0;
@@ -50,7 +50,7 @@
5050
#minusx-toggle {
5151
position: absolute;
5252
left: -40px;
53-
top: 50%;
53+
top: 60%;
5454
width: 40px;
5555
background-image: url('/logo_x.svg');
5656
}
@@ -97,4 +97,16 @@
9797

9898
/* .closed > #minusx-toggle{
9999
left: -40px
100-
} */
100+
} */
101+
102+
body {
103+
display: flex !important;
104+
flex-direction: row !important;
105+
position: relative;
106+
}
107+
108+
#root {
109+
height: 100%;
110+
position: relative;
111+
flex: 1;
112+
}

0 commit comments

Comments
 (0)