Skip to content

Gmail conversation view order reversal by HerrHulaHoop

Details

AuthorHerrHulaHoop

LicenseGPL-3.0-or-later

Categorymail.google.com

Created

Updated

Size1.1 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Reverses the order of emails shown in the Gmail conversation view (Email threading) such that the newest emails are shown at the top (Similar to Outlook).

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           Gmail conversation view reversal
@namespace      https://github.com/HerrHulaHoop
@version        1.0.3
@description    Reverses the order of emails shown in the Gmail conversation view (Email threading) such that the newest emails are shown at the top (Similar to Outlook). Modified version of https://github.com/bartsolutions/gmail-conversation-reversal
@author         HerrHulaHoop <herrhulahoop@proton.me> (https://github.com/HerrHulaHoop)
@license        GPL-3.0-or-later
==/UserStyle== */

@-moz-document domain("mail.google.com") {
  .nH[role="list"], .nH div[role=list] {
    display: flex;
    flex-direction: column-reverse;
  }
  /* Top email */
  .nH .h7.bg[role=listitem]:nth-last-child(1) .Bk .G3.G2 {
    border-top: none;
  }
  /* Second email */
  .nH div[role=listitem]:nth-last-child(2) .Bk .G3.G2 {
    border-top: 1px solid rgba(100, 121, 143, 0.122);
  }
  /* Second-last email */
  .nH div[role=listitem]:nth-child(2) .Bk .G3.G2 {
    border-bottom: 1px solid rgba(100, 121, 143, 0.122);
  }
}

Reviews

No reviews yet.