microsoft / microsoft/BotFramework-WebChat

Get proper classes for send box button

Open
#3,722 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bot Services customer-replied-to customer-reported feature-request p1 size-s
Dominant language
HTML
Stars
1.8k
Forks
1.6k
Avg merge
22h 58m
Merged PRs (30d)
2

Description

Using CSS to style the webchat proves to be really difficult as elements do not have any proper class names when regular CSS is used to style the client. Targeting the attachment icon and still allow it to be turned on and off results in some horrific CSS selectors like;

Attachment Icon
.main > div:first-of-type:not(:only-of-type)

Submit Button
.main>form+div button

Below a screenshot of the (lack off) classes:
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the webchat markup for the attachment icon and submit button described in the issue. Add stable, proper class names so both controls can be targeted with regular CSS while retaining their existing on/off behavior. Done means custom styling no longer requires the shown structural selectors.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, html
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.