Daily Lucky Numbers:

SMF Banner Bar

Started by Chen Zhen, July 08, 2022, 11:51:45 PM

Previous topic - Next topic

Chen Zhen

Quote from: Dave on October 16, 2022, 11:48:24 AMSorry to bother you but how do I change the size of the text in the bar?

You had '.quizbanner { fontsize: 1.1rem; }' I upped that to 1.2rem and larger but it makes no difference

You forgot the hyphen.

quizbanner { font-size: 1.1rem; }

Chen Zhen

I made a small mistake within the regex for filtering that input where the range quantifier has to be escaped when not using it for a range  :-[  inside square brackets.

Thanks for the report!

Version 1.5 is now available.

+   Changed:   unique function to determine if enabled
+   Changed:    buffer not parsed when disabled
!   Fixed:      regex meta-character (hyphen) inside square brackets escaped


Thanks Chen.

I tried all manner of variations on that including adding the hyphen, that was after I went to w3schools to see what I should put in.

Chen Zhen

It was likely because of the improper regex I used to filter the input which removed it when saved.
This should work fine now for version 1.5+.