This commit is contained in:
maaa 2024-06-22 16:45:33 +02:00
parent c5ee37cd99
commit 974109ac39
3 changed files with 9 additions and 7 deletions

View File

@ -20,7 +20,7 @@
<body>
<div class="topBar">
<p tabindex="0" class="logo" id="burgerButton">Burgernotes</p>
<p tabindex="0" class="logo" id="burgerButton"></p>
<button tabindex="0" class="logo hidden" style="font-size: 17px;margin-left: 0;" onclick="handleGesture()" id="backButton"><img src="/static/svg/arrow-back.svg"></button>
<button id="usernameBox" class="usernameBox"><div class="vcenter"><img src="/static/svg/acct-settings.svg"></div></button>
</div>

View File

@ -162,12 +162,13 @@ body {
/* Web app */
.topBar {
position: fixed;
width: 100%;
right: 0;
width: calc(100% - 181px);
height: 50px;
background-color: var(--bar);
background-color: rgba(0, 0, 0, 0);
border: solid;
border: none;
border-color: var(--border-color);
border-width: 0;
border-bottom-width: 1px;
@ -289,7 +290,7 @@ body {
font-size: 16px;
cursor: pointer;
margin-top: 5px;
background-color: var(--bar);
background-color: rgba(0, 0, 0, 0);
border-radius: 8px;
border: none;
transition: 0.125s;
@ -403,11 +404,11 @@ body {
.noteBox {
position: fixed;
right: 0;
top: 50px;
top: 35px;
border: none;
font-size: 16px;
color: var(--text-color);
background-color: var(--editor);
background-color: rgba(0, 0, 0, 0);
width: calc(100% - 200px);
height: calc(100% - 50px - 30px);
font-family: "Inter", sans-serif;

View File

@ -448,6 +448,7 @@ function selectNote(nameithink) {
let bytes = CryptoJS.AES.decrypt(responseData["content"], password);
noteBox.value = bytes.toString(CryptoJS.enc.Utf8)
updateWordCount()
renderMarkDown()