Skip to content
Snippets Groups Projects
Commit b4b68d0d authored by Matthias Konitzny's avatar Matthias Konitzny :fire:
Browse files

Still some CSS problems, but now better looking.

parent 510a72fa
No related branches found
No related tags found
1 merge request!3Master into new editor
.searchbar { .searchbar {
display: flex; display: inline-flex;
flex-direction: row; flex-direction: row;
flex-wrap: nowrap; flex-wrap: nowrap;
justify-content: flex-start; justify-content: flex-start;
...@@ -18,6 +18,11 @@ ...@@ -18,6 +18,11 @@
.searchbar-icon { .searchbar-icon {
cursor: pointer; cursor: pointer;
font-size: 30px; font-size: 30px;
opacity: 0.7;
}
.searchbar-form {
margin-right: 10px;
} }
.searchbar-text { .searchbar-text {
...@@ -40,7 +45,8 @@ ...@@ -40,7 +45,8 @@
} }
.serach-area { .serach-area {
display: flex; display: inline-flex;
width: min-content;
flex-direction: column; flex-direction: column;
background-color: transparent; background-color: transparent;
transition: background-color 0.2s ease-in-out; transition: background-color 0.2s ease-in-out;
......
...@@ -65,7 +65,7 @@ function SearchBar({ minified, nodeSet, onSearch }: SearchBarProps) { ...@@ -65,7 +65,7 @@ function SearchBar({ minified, nodeSet, onSearch }: SearchBarProps) {
className={"searchbar-text"} className={"searchbar-text"}
style={{ width: width + "%" }} style={{ width: width + "%" }}
> >
<form action={"#"}> <form className={"searchbar-form"} action={"#"}>
<input <input
ref={inputField} ref={inputField}
className={"searchbar-input"} className={"searchbar-input"}
......
...@@ -14,14 +14,17 @@ ...@@ -14,14 +14,17 @@
.display-icons { .display-icons {
z-index: 99; z-index: 99;
padding: 10px;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
flex-wrap: nowrap; flex-wrap: nowrap;
align-items: center; align-items: center;
left: 15px; left: 0;
top: 10px; top: 0;
position: absolute; position: absolute;
gap: 20px; gap: 10px;
background-color: rgba(100, 100, 100, 0.2);
border-bottom-right-radius: 20px;
} }
.display-fullscreen-button { .display-fullscreen-button {
...@@ -29,4 +32,5 @@ ...@@ -29,4 +32,5 @@
cursor: pointer; cursor: pointer;
font-size: 30px; font-size: 30px;
transform: rotate(-45deg); transform: rotate(-45deg);
margin-top: -4px;
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment