-
Notifications
You must be signed in to change notification settings - Fork 244
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
added danger red color to text/border when no description #672
Conversation
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 for taking a look at this, Kenny! :)
Some feedback in the comments.
Hi @lpatmo, Thank you for the feedback! I just made some changes, hopefully it works now! Please take a look! :) |
@kennyhuynh125 That's a good step... but are you sure you wanted to make all .well .jumbotron border red? :) One possibility is putting the
Note: I have not tested the above; might be worth previewing it in the console or running the app. Let me know if you have questions. P.S. Let me also know if you're having trouble getting the app to run, or if any of the instructions on docs.codebuddies.org are confusing. Installing meteor shouldn't take too long, but the first time you hit |
Hi @lpatmo Thank you for the feedback! I wasn't sure whether well was a class used only in that template, seems like it is used elsewhere as well. I added an ID to that div so that the red border is specific only to that div. |
Oops! i actually didnt see the second half of your feedback :(, i believe the id will still work, but your method sounds better. i will try and work on this more tomorrow! |
@kennyhuynh125 Yeah, an id will technically work, but the reason I suggested naming the class |
Hey @lpatmo I am having trouble with getting the app to run, been getting an error. I updated meteor with a patch to see if it works again. I tried doing the CSS on Codepen and realized that your way will include a border within the p element as well (assuming that p also has a class called warning). I was wondering if it would work if I give both the div and the p element .warning but use the other classes to style it, something like... |
Sorry for the slow followup, @kennyhuynh125! Pushed up some changes (https://github.com/codebuddiesdotorg/codebuddies/pull/672/files#diff-00f4fbcbe51fb5f21b5fa99939627f80) that simplifies things; in short, if you apply a class to the wrapping div, you can style the border and also the text inside it too. :) Let me know if you have any questions. Thanks again for your time on this! |
Fixes #670 .
Added the danger red to the color of the text and border of the div where the No description text is showing up.