-
-
Notifications
You must be signed in to change notification settings - Fork 342
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
Code highlight gets cut when scroll is available #374
Comments
Thanks for the report, @cgutierr-zgz. I'll have a look into this and see if I can make some adjustments. |
Oh no! I tested this using Chrome too and had no issues, but unfortunately I don't have an Android phone to be able to test it on there directly. I take it you're using the |
Yes, this is an example from a post i made: {{<highlight dart "hl_lines=12">}}
// ...
final carlosCubit = SettingsCubit('carlos');
final dimaCubit = SettingsCubit('dima');
// ...
class SettingsCubit extends HydratedCubit<Settings> {
SettingsCubit(this._id) : super(const Settings(themeMode: ThemeMode.system));
final String _id;
@override
String get id => _id;
//... other methods
}
{{</highlight>}} If there's anything i can test, lmk, btw it does happen on google chrome too |
So it looks like there was some CSS caching going on in my Chrome and I've now been able to replicate this! Looking into it again now. |
I've created #383 so that you can have a look and see if this fixes your issue. I've tested it in Chrome and it appears to be working now. Feel free to use the deploy preview on the PR on your device and let me know if the problem has been resolved. |
Thanks @jpanther , it does look good now! |
What happened?
When we use the highlight for a code snippet it gets cut off on the "overflowing scrolling part(?)"
I noticed this on Google chrome on my pixel 4a
Theme version
2.4.1
Hugo version
0.15
What browsers are you seeing the problem on?
Chrome
Relevant Hugo log output
No response
The text was updated successfully, but these errors were encountered: