Skip to content

Commit f62215b

Browse files
authored
v0.0.26.2
v0.0.26.2
2 parents 05a84b9 + 0e9a633 commit f62215b

File tree

4 files changed

+13
-10
lines changed

4 files changed

+13
-10
lines changed

doc/changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
#### 0.0.26.2
4+
- reverted 488dff0 ([#215](https://github.com/Bl4Cc4t/GoodTwitter2/issues/215))
5+
36
#### 0.0.26.1
47
- recompiled css
58

twitter.gt2eb.style.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

twitter.gt2eb.style.scss

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ main {
556556
height: -webkit-fit-content;
557557
margin-bottom: 10px;
558558
border-bottom: 1px solid var(--color-gray-dark);
559-
& > div > div {
559+
& > div {
560560

561561
// scroll behind nav bar
562562
& > div:nth-child(1) {
@@ -661,7 +661,7 @@ main {
661661
transition: margin-top .25s ease-in-out;
662662
}
663663

664-
div[data-testid=primaryColumn] > div > div {
664+
div[data-testid=primaryColumn] > div {
665665
& > div:nth-child(1),
666666
& > div:nth-child(2) > div > div > div:nth-child(1) {
667667
position: absolute;
@@ -1040,9 +1040,9 @@ body:not(.gt2-opt-small-sidebars) {
10401040

10411041
.gt2-opt-square-avatars {
10421042
// /home new tweet
1043-
div[data-testid=primaryColumn] > div > div > div:nth-child(2) > div > div:nth-child(2) > div:nth-child(1) > div > div > div > div:nth-child(1),
1043+
div[data-testid=primaryColumn] > div > div:nth-child(2) > div > div:nth-child(2) > div:nth-child(1) > div > div > div > div:nth-child(1),
10441044
// profile
1045-
div[data-testid=primaryColumn] > div > div > div:nth-child(2) > div > div > div:nth-child(1) > div > div:nth-child(1),
1045+
div[data-testid=primaryColumn] > div > div:nth-child(2) > div > div > div:nth-child(1) > div > div:nth-child(1),
10461046
// tweet
10471047
div[data-testid=tweet] > div:nth-child(1) > div > div,
10481048
// sidebar (who to follow)
@@ -1183,7 +1183,7 @@ body:not(.gt2-opt-small-sidebars) {
11831183

11841184

11851185
// .gt2-opt-keep-tweets-in-tl {
1186-
// div[data-testid=primaryColumn] > div > div > div:nth-child(4) > div > div > section > div:nth-child(2) > div > div {
1186+
// div[data-testid=primaryColumn] > div > div:nth-child(4) > div > div > section > div:nth-child(2) > div > div {
11871187
// padding-top: 0 !important;
11881188
// padding-bottom: 0 !important;
11891189
// }
@@ -1589,15 +1589,15 @@ body[style*="overflow-y: hidden"] {
15891589
}
15901590
div[data-testid=primaryColumn] {
15911591
border-top-width: 0 !important;
1592-
& > div > div > div:nth-child(1) {
1592+
& > div > div:nth-child(1) {
15931593
position: sticky;
15941594
top: 56px;
15951595
border-top: 1px solid var(--color-gray-dark);
15961596
transition: top .2s ease-in-out;
15971597
}
15981598
}
15991599
&.gt2-scrolled-down {
1600-
div[data-testid=primaryColumn] > div > div > div:nth-child(1) {
1600+
div[data-testid=primaryColumn] > div > div:nth-child(1) {
16011601
top: calc(56px - 107px);
16021602
}
16031603
}

twitter.gt2eb.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name GoodTwitter 2 - Electric Boogaloo
3-
// @version 0.0.26.1
3+
// @version 0.0.26.2
44
// @description A try to make Twitter look good again
55
// @author schwarzkatz
66
// @license MIT
@@ -721,7 +721,7 @@
721721
waitForKeyElements("a[href$='/photo'] img", () => {
722722
console.log("rebuild");
723723

724-
let $profile = $("div[data-testid=primaryColumn] > div > div > div:nth-child(2) > div > div > div:nth-child(1) > div:nth-child(2)")
724+
let $profile = $("div[data-testid=primaryColumn] > div > div:nth-child(2) > div > div > div:nth-child(1) > div:nth-child(2)")
725725

726726
// information (constant)
727727
const i = {

0 commit comments

Comments
 (0)