Commit e89bb969 authored by Weilun Shi's avatar Weilun Shi Committed by Commit Bot

[NTP] Adding a left span for custom links edit html

When changing the font size on the settings, changing on the remove
button is different than changing on the right span container for the
other two buttons, that's why we see the inconsistent behavior.
Therefore, adding additional left span for the remove button.

Screencast:
https://screencast.googleplex.com/cast/NDkxMzQ4OTQ4NzMzMTMyOHw5N2Y4MzQzMS0yYQ

Bug: 883192
Change-Id: I398402cfdec9d8a93e95802fb4d99f6ded552cd0
Reviewed-on: https://chromium-review.googlesource.com/1255612
Commit-Queue: Weilun Shi <sweilun@chromium.org>
Reviewed-by: default avatarKristi Park <kristipark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#595670}
parent a2b88805
...@@ -128,9 +128,6 @@ input:focus + .underline { ...@@ -128,9 +128,6 @@ input:focus + .underline {
margin-top: 24px; margin-top: 24px;
} }
.buttons-container .right {
}
button { button {
border: none; border: none;
border-radius: 4px; border-radius: 4px;
......
...@@ -31,8 +31,10 @@ ...@@ -31,8 +31,10 @@
<div id="invalid-url" class="error-msg"></div> <div id="invalid-url" class="error-msg"></div>
</div> </div>
<div class="buttons-container"> <div class="buttons-container">
<span>
<button id="delete" class="secondary" type="button" tabindex="0"></button> <button id="delete" class="secondary" type="button" tabindex="0"></button>
<span class="right"> </span>
<span>
<button id="cancel" class="secondary" type="button" tabindex="0"></button> <button id="cancel" class="secondary" type="button" tabindex="0"></button>
<button type="submit" id="done" class="primary" tabindex="0"></button> <button type="submit" id="done" class="primary" tabindex="0"></button>
</span> </span>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment