-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Fixes for #907 #976
Fixes for #907 #976
Conversation
Deploy preview ready! Built with commit 794040a |
Deploy preview ready! Built with commit 794040a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @jimmaaay! I was seeing slightly different default values, can you check in your browser and change them if necessary?
@@ -22,7 +22,7 @@ | |||
& input { | |||
background-color: #eff0f4; | |||
border-radius: var(--borderRadius); | |||
|
|||
height: 36px; /* issue #907 */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For me, this was 36.8px
, can you adjust it a bit?
@@ -39,6 +39,7 @@ | |||
position: absolute; | |||
left: 6px; | |||
z-index: 2; | |||
top: 9px; /* issue #907 */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For me, this was 9.4px
, can you adjust it a bit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather avoid partial pixels, and I also want to avoid locking down all browsers to this solution if possible. Taking a quick look locally.
@tech4him1 updated. |
height: 100%; | ||
display: flex; | ||
align-items: center; | ||
pointer-events: none; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Hi there. In my PR I have included small fixes for the issue 907. Whilst doing this I noticed something small, not really worth an issue. The
nc-toggle-switch
button gets given the class ofundefined
when editing a post. I tracked this down to the filesrc/components/UI/Toggle
getting passedclassNameSwitch
which in this case was not passed into it. My proposed solution for this is below.Also really love the work that everyone put into this :)
Fixes #907.