1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-04-15 23:41:02 +00:00

Set tab width for frontend to 2 spaces

This commit is contained in:
Romein van Buren 2023-01-18 11:25:08 +01:00
parent 1c12dcabc0
commit 72362b2c1f
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49
3 changed files with 90 additions and 80 deletions

4
frontend/.editorconfig Normal file
View File

@ -0,0 +1,4 @@
[*]
tab_width = 2
insert_final_newline = true
indent_style = space

View File

@ -1,12 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<title>mongodup</title>
</head>
<body>
<head>
<meta charset="UTF-8" />
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<title>Mongodup</title>
</head>
<body>
<div id="app"></div>
<script src="./src/main.js" type="module"></script>
</body>
</body>
</html>

View File

@ -6,7 +6,8 @@ html,
body {
height: 100vh;
overflow: hidden;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
margin: 0;
padding: 0;
-webkit-user-select: none;
@ -128,13 +129,18 @@ p strong {
vertical-align: bottom;
}
code, .code {
code,
.code {
font-family: Menlo, monospace;
}
@keyframes flashGreen {
0% { color: #0d0; }
100% { color: unset; }
0% {
color: #0d0;
}
100% {
color: unset;
}
}
.flash-green {
animation: 1s ease-out 0s 1 flashGreen;