-
-
Notifications
You must be signed in to change notification settings - Fork 163
Vocabulary styles being overriden by custom styling #31
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
Comments
Hi @akmadian, I'm an Outreachy applicant. I will try to work on this. Thank you! |
I’m happy to help anywhere Vocabulary usage is involved! |
Go ahead! @deboragaleano |
Hi @akmadian can I work on this too? |
Sorry, @onyijne, this issue is already being worked on by someone else. Keep checking back on the repository cause I'll be adding more issues soonish. Any issue with the |
Okay @akmadian I understand how it works now, thanks. |
So sorry but I won't be able to work on this issue in the end. I believe @onyijne can take it now :) Thank you! |
It's okay @deboragaleano, @akmadian can I go ahead? |
Yep, go ahead @onyijne :) |
@dhruvkb please how can I access the @creativecommons/vocabulary dir. can't seem to locate it. |
Okay my IDE kinda hid the dir, but how do I push changes I'll make in the vocabulary package since it's in node_modules dir? |
Either make a pull request to the cc-vocabulary repo with your changes (make sure they don't break anything else in vocabulary), or make changes to the CSS in components that need attention in the cc-chooser source (this option is far better in my opinion). For the footer, your CSS mods should be in the App.vue parent component. |
@akmadian I might have to make a pull request to the cc-vocabulary repo as the footer requires more than CSS, the wording and logo needs modification. However, if you do not recommend making a pull request to cc-vocabulary repo, and would permit me to I can use DOM manipulation to effect the changes. |
I was saying that (maybe I could have been more clear), chances are that there's some CSS within the chooser that's causing issues with vocab components, and that it's better to find the problematic CSS and fix it instead of modifying vocabulary in node_modules. Although, it sounds like you may have found a deeper issue with vocabulary. So, if you've got a fix for that issue, and it happens to also fix this one, then that sounds better to me. If you did find a deeper issue, I would definitely submit a PR to vocab, then do what's needed to fix the issue in the chooser if it still needs some work. |
I
Looking at the contents on the images for broken and that of expected, they are different. This is what I was actually referring to, and intended to harmonize. |
Ah, I see where the confusion is. The content of the footer is not supposed to exactly match the expected footer. The links above the locale selector are meant to be customizable, along with other parts of the footer component. The only real CSS bug I saw in the footer was the weird padding/ alignment of elements in the local selector. Sent with GitHawk |
Okay, for the weird padding of the local selector, I think I have fixed
that. So I'll just remove WIP if that's all that's needed for now, while I
wait for the feedback you'll get from the PR thread.
…On Wed, 9 Oct 2019, 19:10 Ari Madian, ***@***.***> wrote:
Ah, I see where the confusion is. The content of the footer is not
supposed to exactly match the expected footer. The links above the locale
selector are meant to be customizable, along with other parts of the footer
component. The only real CSS bug I saw in the footer was the weird padding/
alignment of elements in the local selector.
I’ll give some feedback on content in the PR thread.
Sent with GitHawk <http://githawk.com>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#31>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABUCSYAHEKDEJ7XPRAZYFSDQNYNCPANCNFSM4ITDWV3Q>
.
|
Due to issues with specificity, styling provided by CC Vocabulary is being overriden by styling from other third-party libraries and custom written CSS, leading to a different UI than what is expected. This is causing components to look broken or erratically styled.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The components should render like the examples in the Vocabulary styleguide.
Screenshots


^ Broken
Footer
andLocale
^ Expected
Footer
andLocale
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: