Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

CSS not applying randomly to one of the repeating field buttons

1585364698

Edited 1585365017
Richard T.
Pro
Marketplace Creator
Sheet Author
Compendium Curator
Starting a new Ars Magica game after a few months and I noticed some problems with my sheet. A kind soul added in translation tags to the sheet which is great but I suspect there were some side effects.&nbsp; The missing translation key was easy to fix and it looks like they might have added translation tags to some &lt;tds&gt; that squashed some check boxes but I've moved what I found into spans. The weirder problem I have though is that the repeating field buttons are missing CSS on one of the buttons (The +Add button if it isn't obvious). I have an older copy of the sheet where its appropriately styled like so: But looking at the CSS, they are the same and I'm scratching my head of how a translation implementation might have messed it up. Looking at other repeating fields, they all have the same problem so either the translator used a script or they were very insistent that my +Add button should break, but at least its not a one-off.&nbsp; When I examine the button in developer mode it shows the correct name but the CSS is not showing up to be applied.&nbsp; Currently broken code: <a href="https://github.com/Roll20/roll20-character-sheets/blob/master/Ars_Magica_5th/Ars_Magica_5th.html" rel="nofollow">https://github.com/Roll20/roll20-character-sheets/blob/master/Ars_Magica_5th/Ars_Magica_5th.html</a> <a href="https://github.com/Roll20/roll20-character-sheets/blob/master/Ars_Magica_5th/Ars_Magica_5th.css" rel="nofollow">https://github.com/Roll20/roll20-character-sheets/blob/master/Ars_Magica_5th/Ars_Magica_5th.css</a> Old working code: <a href="https://pastebin.com/nqc9TscD" rel="nofollow">https://pastebin.com/nqc9TscD</a> &nbsp;HTML <a href="https://pastebin.com/Liwt2StA" rel="nofollow">https://pastebin.com/Liwt2StA</a> &nbsp;CSS
1585393192
vÍnce
Pro
Sheet Author
Just a quick check; but these all look good for me Richard... I used the current broken html and css.&nbsp; Using updated chrome
1585399457

Edited 1585399587
Andreas J.
Forum Champion
Sheet Author
Translator
Yeah, I did the translation tags. I'll fix that "characteristics" and another translation thing I found, and see if I have time to see if the button thing can be fixed. Vince said: Just a quick check; but these all look good for me Richard... I used the current broken html and css. I guess that means it could be caused by the updates done after my translation things, I never touched the CSS when adding the translations.
1585443784
Richard T.
Pro
Marketplace Creator
Sheet Author
Compendium Curator
Thanks Andreas, I have the fixes on my end, I also saw the missing tags for combat, did you spot any others?&nbsp; I was going to implement some google fonts so I can push any translation changes you find with my update.&nbsp; The +Add button still isn't having CSS applied for me. Checked my Chrome update and did a ctrl+F5. I guess I'll ask some friends to see what they see...&nbsp;
1585443857

Edited 1585444116
Richard T.
Pro
Marketplace Creator
Sheet Author
Compendium Curator
Are you viewing the sheet through sandbox or are you pulling the sheet from roll20?&nbsp; I pulled the github code into a custom game and it also works for me :S It only breaks if I use the Ars Magica sheet from the roll20 drop down.&nbsp; Vince said: Just a quick check; but these all look good for me Richard... I used the current broken html and css.&nbsp; Using updated chrome
1585444639
vÍnce
Pro
Sheet Author
Custom game with the old editor (non-sandbox).&nbsp; I'll check using the character template selector...
1585445773

Edited 1585445856
vÍnce
Pro
Sheet Author
Now I get the same as you Richard.&nbsp; I checked the CSS through a validator and there are some parse errors. Although not directly related to repitem styles, perhaps they could be causing the issue.&nbsp; Not sure&nbsp; Maybe test the HTML as well.&nbsp; Doesn't make sense that it works in a custom game but fails on the server, but I believe there has been posts to the forums like this.