-
Notifications
You must be signed in to change notification settings - Fork 36
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
fix(nlu): intent slot formatting #295
fix(nlu): intent slot formatting #295
Conversation
DEV-2312 Intent Slot Formatting Bug
Styles for intent slots format incorrectly on smaller screen sizes |
// Fix duplicate placeholder | ||
[data-slate-leaf='true'] > span > [contenteditable='false'] + span > [contenteditable='false'], | ||
[data-slate-leaf='true'] | ||
> span | ||
> [contenteditable='false'] | ||
+ span | ||
> [contenteditable='false'] | ||
+ span | ||
> [contenteditable='false'] { | ||
display: none !important; | ||
} |
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.
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 tried it and it works perfect 👍
@@ -6,7 +6,7 @@ $status-bar-height: 30px; | |||
} | |||
|
|||
.fullsize, | |||
.fullsize > div { | |||
.fullsize > :where(div) { |
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.
what is this sorcery ?? 🧙🏻♂️
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.
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.
Tested and LGTM
Before
Screen.Recording.2022-02-15.at.3.45.28.PM.mov
After
Screen.Recording.2022-02-15.at.3.42.52.PM.mov