diff --git a/full.css b/full.css
index 4b319f76cc..6cd8e1c1e0 100644
--- a/full.css
+++ b/full.css
@@ -886,13 +886,12 @@ body.notransition .sidebar {
margin-left: -18px;
}
-.sidebar .header .title-screen .title:not(.scrolling):hover {
+body:not(.mobile) .sidebar .header .title-screen .title:not(.scrolling, :has(> .branch-icon:hover)):is(:hover, :active) {
color: #fff;
}
-.sidebar .header .title-screen .title:not(.scrolling):active {
+.sidebar .header .title-screen .title:not(.scrolling, :has(> .branch-icon:active)):active :is(.back, .logo) {
opacity: .5;
- transition: none;
}
.sidebar .header .logo {
@@ -970,7 +969,7 @@ body:not(.mobile) .sidebar .header .title .branch-icon:hover {
}
body:not(.mobile) .sidebar .header .title .branch-icon:active {
- opacity: 0.5 !important;
+ opacity: 0.27 !important;
}
.sidebar .header .title .branch-icon.active {
diff --git a/full.html b/full.html
index f6f5a7e628..8a922a2249 100644
--- a/full.html
+++ b/full.html
@@ -43,8 +43,6 @@
-
-
diff --git a/index.html b/index.html
index c55d0fad84..ffdf9c6af8 100644
--- a/index.html
+++ b/index.html
@@ -45,8 +45,6 @@
-
-
diff --git a/lib/codeit.js b/lib/codeit.js
index a41ef9ca0b..b45128d790 100644
--- a/lib/codeit.js
+++ b/lib/codeit.js
@@ -1,7 +1,7 @@
/*
codeit.js
- v3.1.0
+ v3.1.1
MIT License
https://codeit.codes
@@ -622,7 +622,7 @@ class CodeitElement extends HTMLElement {
if (selContents.includes('\n')) {
// tab lines in selection
- selContents = selContents.split('\n').join('\n' + cd.options.tab);
+ selContents = cd.options.tab + selContents.split('\n').join('\n' + cd.options.tab);
// insert tabbed selection
cd.deleteCurrentSelection();
diff --git a/worker/client-channel.js b/worker/client-channel.js
index 619d01cc68..d83788b65e 100644
--- a/worker/client-channel.js
+++ b/worker/client-channel.js
@@ -4,7 +4,7 @@
// update worker name when updating worker
-const WORKER_NAME = 'codeit-worker-v604';
+const WORKER_NAME = 'codeit-worker-v606';
// internal paths