Changeset 250749 in webkit


Ignore:
Timestamp:
Oct 4, 2019, 3:07:15 PM (6 years ago)
Author:
zhifei_fang@apple.com
Message:

[perf dashboard] Make test fressness head and indicator perfect centered
https://bugs.webkit.org/show_bug.cgi?id=202602

Reviewed by Ryosuke Niwa.

  • public/v3/components/freshness-indicator.js: make indicator margin auto, it will then horizontally centered in the container

(FreshnessIndicator.cssTemplate):
(FreshnessIndicator):

  • public/v3/pages/test-freshness-page.js: make the table head transform based on the center left

(TestFreshnessPage.cssTemplate):

Location:
trunk/Websites/perf.webkit.org
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Websites/perf.webkit.org/ChangeLog

    r250647 r250749  
     12019-10-04  Zhifei Fang  <zhifei_fang@apple.com>
     2
     3        [perf dashboard] Make test fressness head and indicator perfect centered
     4        https://bugs.webkit.org/show_bug.cgi?id=202602
     5
     6        Reviewed by Ryosuke Niwa.
     7
     8        * public/v3/components/freshness-indicator.js: make indicator margin auto, it will then horizontally centered in the container
     9        (FreshnessIndicator.cssTemplate):
     10        (FreshnessIndicator):
     11        * public/v3/pages/test-freshness-page.js: make the table head transform based on the center left
     12        (TestFreshnessPage.cssTemplate):
     13
    1142019-10-02  Dewei Zhu  <dewei_zhu@apple.com>
    215
  • trunk/Websites/perf.webkit.org/public/v3/components/freshness-indicator.js

    r242933 r250749  
    6262        return `
    6363            div {
    64                 margin-left: 0;
     64                margin: auto;
    6565                height: 1.8rem;
    6666                width: 1.8rem;
  • trunk/Websites/perf.webkit.org/public/v3/pages/test-freshness-page.js

    r248007 r250749  
    281281                white-space: nowrap;
    282282                height: 16rem;
     283                width: 2.2rem;
    283284                border-bottom: 0rem;
     285                padding: 0;
    284286            }
    285287            #test-health th.diagonal-head > div {
    286                 transform: translate(1rem, 7rem) rotate(315deg);
    287                 width: 2rem;
     288                transform: translate(1.1rem, 7.5rem) rotate(315deg);
     289                transform-origin: center left;
     290                width: 2.2rem;
    288291                border: 0rem;
    289292            }
     
    313316                height: 1.6rem;
    314317                width: 1.6rem;
    315                 margin: 0.1rem;
     318                margin: auto;
    316319                padding: 0;
    317320                position: relative;
Note: See TracChangeset for help on using the changeset viewer.