[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-128.1.0esr-14.0-1] fixup! Bug 31286: Implementation of bridge, proxy, and firewall settings in...



Title: GitLab

morgan pushed to branch tor-browser-128.1.0esr-14.0-1 at The Tor Project / Applications / Tor Browser

Commits:

  • 7d28998a
    by Henry Wilkes at 2024-08-15T18:41:57+00:00
    fixup! Bug 31286: Implementation of bridge, proxy, and firewall settings in about:preferences#connection
    
    Bug 42806: Use `lh` unit in tor connection preferences.
    
    Bug 42705: Adjust spacing of the Lox update list to account for removal
    of 1.8 line-height.
    

1 changed file:

Changes:

  • browser/components/torpreferences/content/torPreferences.css
    ... ... @@ -558,7 +558,7 @@ button.spoof-button-disabled {
    558 558
         ". invites button" min-content
    
    559 559
         / min-content 1fr max-content;
    
    560 560
       align-items: start;
    
    561
    -  gap: 0 8px;
    
    561
    +  gap: 8px;
    
    562 562
     }
    
    563 563
     
    
    564 564
     .tor-bridges-lox-image-outer {
    
    ... ... @@ -620,6 +620,7 @@ button.spoof-button-disabled {
    620 620
       /* Align the icons, as if list markers. */
    
    621 621
       grid-template-columns: max-content 1fr;
    
    622 622
       align-items: start;
    
    623
    +  gap: 8px 0;
    
    623 624
     }
    
    624 625
     
    
    625 626
     .tor-bridges-lox-list-item {
    
    ... ... @@ -628,16 +629,15 @@ button.spoof-button-disabled {
    628 629
     
    
    629 630
     .tor-bridges-lox-list-item::before {
    
    630 631
       /* We use ::before rather than list-style-image to have more control. */
    
    631
    -  display: block;
    
    632 632
       box-sizing: content-box;
    
    633 633
       width: 18px;
    
    634 634
       height: 18px;
    
    635 635
       margin-inline: 4px 6px;
    
    636 636
       /* We want the icons to be center-aligned relative to the *first* line. */
    
    637
    -  /* TODO: After firefox 120, can use line-height unit "lh" to do proper
    
    638
    -   * center-alignment: calc((1lh - 18px) / 2)
    
    639
    -   * For now, we use 3.4ex as an approximation for 1lh */
    
    640
    -  margin-block-start: calc((3.4ex - 18px) / 2);
    
    637
    +  margin-block-start: calc((1lh - 18px) / 2);
    
    638
    +  /* We use display: grid rather than display: block. Otherwise the content will
    
    639
    +   * be offset vertically by the line-height. */
    
    640
    +  display: grid;
    
    641 641
       /* fill is the icon color, stroke is the border color. */
    
    642 642
       -moz-context-properties: fill, stroke;
    
    643 643
       fill: var(--in-content-icon-color);
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits