-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Col resize hit area increase #3414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
59ef6a3
d86feac
eb955e0
5d080ed
1089248
7a860c5
9b1c200
642d6cb
64ad9fa
b8006f4
5fef43e
ef8e093
e2b262f
0957aab
538b759
e9d5eb2
6a9fdd5
4de5967
0558b53
6ee3fe9
86644b1
de2cef7
177b851
c36d30c
0b695f8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -288,10 +288,21 @@ tbody.spectrum-Table-body { | |
| background-color: var(--spectrum-table-divider-border-color); | ||
| } | ||
|
|
||
| /* don't want the divider to add to the resizer's width since it's */ | ||
| &:active, | ||
| &:focus-ring { | ||
| &::after { | ||
| background-color: var(--spectrum-global-color-blue-400); | ||
| background-color: unset; | ||
|
Comment on lines
+291
to
+295
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. mega nit:
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've got an element that sits on top and isn't the button, when focused, I don't want it visible, it causes a tiny wiggle because the anti-aliasing is strong than it should be, so this looks better |
||
| } | ||
| } | ||
| } | ||
|
|
||
| .spectrum-Table-colResizeIndicator { | ||
| &.spectrum-Table-colResizeIndicator--resizing { | ||
| background-color: var(--spectrum-global-color-blue-600); | ||
| } | ||
| } | ||
| .spectrum-Table-colResizeNubbin {} | ||
| .spectrum-Table-bodyResizeIndicator { | ||
| background-color: var(--spectrum-global-color-blue-600); | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| /* | ||
| * Copyright 2022 Adobe. All rights reserved. | ||
| * This file is licensed to you under the Apache License, Version 2.0 (the "License"); | ||
| * you may not use this file except in compliance with the License. You may obtain a copy | ||
| * of the License at http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software distributed under | ||
| * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS | ||
| * OF ANY KIND, either express or implied. See the License for the specific language | ||
| * governing permissions and limitations under the License. | ||
| */ | ||
|
|
||
| import React from 'react'; | ||
|
|
||
|
|
||
| // TODO resize with scale? colors should be variables | ||
LFDanLu marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| export function Nubbin() { | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 😍 |
||
| return ( | ||
| <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"> | ||
| <g id="Group_175838" data-name="Group 175838"> | ||
| <g id="Ellipse_10104" data-name="Ellipse 10104" fill="var(--spectrum-global-color-blue-600)" stroke="var(--spectrum-global-color-blue-600)" strokeWidth="2"> | ||
| <circle cx="8" cy="8" r="8" stroke="none" /> | ||
| <circle cx="8" cy="8" r="7" fill="none" /> | ||
| </g> | ||
| </g> | ||
| <path id="Path_104166" data-name="Path 104166" d="M-2106-7380.263v5l2.5-2.551Z" transform="translate(2116 7385.763)" fill="#fff" stroke="#fff" strokeLinejoin="round" strokeWidth="2" /> | ||
| <path id="Path_104167" data-name="Path 104167" d="M-2106-7380.263v5l2.5-2.551Z" transform="translate(-2100 -7369.763) rotate(180)" fill="#fff" stroke="#fff" strokeLinejoin="round" strokeWidth="2" /> | ||
| </svg> | ||
LFDanLu marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| ); | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.