1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-04-16 07:41:03 +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

@ -3,7 +3,7 @@
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta content="width=device-width, initial-scale=1.0" name="viewport" /> <meta content="width=device-width, initial-scale=1.0" name="viewport" />
<title>mongodup</title> <title>Mongodup</title>
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>

View File

@ -6,7 +6,8 @@ html,
body { body {
height: 100vh; height: 100vh;
overflow: hidden; 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; margin: 0;
padding: 0; padding: 0;
-webkit-user-select: none; -webkit-user-select: none;
@ -128,13 +129,18 @@ p strong {
vertical-align: bottom; vertical-align: bottom;
} }
code, .code { code,
.code {
font-family: Menlo, monospace; font-family: Menlo, monospace;
} }
@keyframes flashGreen { @keyframes flashGreen {
0% { color: #0d0; } 0% {
100% { color: unset; } color: #0d0;
}
100% {
color: unset;
}
} }
.flash-green { .flash-green {
animation: 1s ease-out 0s 1 flashGreen; animation: 1s ease-out 0s 1 flashGreen;