Changeset 215333 in webkit


Ignore:
Timestamp:
Apr 13, 2017 12:54:53 PM (7 years ago)
Author:
BJ Burg
Message:

Web Inspector: RTL: goto arrow is floated to the wrong side
https://bugs.webkit.org/show_bug.cgi?id=170816

Reviewed by Matt Baker.

Float it to the other side if necessary.

  • UserInterface/Views/Main.css:

(.go-to-link):
(body[dir=ltr] .go-to-link:not(.dont-float)):
(body[dir=rtl] .go-to-link:not(.dont-float)):

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r215316 r215333  
     12017-04-13  Brian Burg  <bburg@apple.com>
     2
     3        Web Inspector: RTL: goto arrow is floated to the wrong side
     4        https://bugs.webkit.org/show_bug.cgi?id=170816
     5
     6        Reviewed by Matt Baker.
     7
     8        Float it to the other side if necessary.
     9
     10        * UserInterface/Views/Main.css:
     11        (.go-to-link):
     12        (body[dir=ltr] .go-to-link:not(.dont-float)):
     13        (body[dir=rtl] .go-to-link:not(.dont-float)):
     14
    1152017-04-12  Dan Bernstein  <mitz@apple.com>
    216
  • trunk/Source/WebInspectorUI/UserInterface/Views/Main.css

    r214208 r215333  
    11/*
    2  * Copyright (C) 2013 Apple Inc. All rights reserved.
     2 * Copyright (C) 2013-2017 Apple Inc. All rights reserved.
    33 *
    44 * Redistribution and use in source and binary forms, with or without
     
    271271
    272272.go-to-link:not(.dont-float) {
    273     float: right;
    274     margin-left: 5px;
    275273    max-width: 100%;
    276274    text-overflow: ellipsis;
    277275    overflow: hidden;
    278276    white-space: nowrap;
     277
     278    --go-to-link-margin-start: 5px;
     279}
     280
     281body[dir=ltr] .go-to-link:not(.dont-float) {
     282    float: right;
     283    margin-left: var(--go-to-link-margin-start);
     284}
     285
     286body[dir=rtl] .go-to-link:not(.dont-float) {
     287    float: left;
     288    margin-right: var(--go-to-link-margin-start);
    279289}
    280290
Note: See TracChangeset for help on using the changeset viewer.