mirror of
https://github.com/flarum/framework.git
synced 2024-12-02 06:53:47 +08:00
f1ba5e7b70
* Limit height of code blocks Users often post lengthy code or configuration listings which makes following the actual discussion difficult. Therefore we limit a code block by half a screen while still being able to scroll through the code listing itself. * Define a minimal code block height for small screens * Add max-height compatibility for browsers that don't support `max()` See https://caniuse.com/css-math-functions * Less has a built-in `max` function, so we need to escape this value Co-authored-by: David Wheatley <hi@davwheat.dev> |
||
---|---|---|
.. | ||
ActivityPage.less | ||
AvatarEditor.less | ||
Composer.less | ||
DiscussionHero.less | ||
DiscussionList.less | ||
DiscussionListItem.less | ||
DiscussionPage.less | ||
Hero.less | ||
IndexPage.less | ||
LogInButton.less | ||
LogInModal.less | ||
NotificationGrid.less | ||
NotificationList.less | ||
NotificationsDropdown.less | ||
Post.less | ||
PostStream.less | ||
Scrubber.less | ||
SettingsPage.less | ||
SignUpModal.less | ||
Slidable.less | ||
UserCard.less | ||
UserPage.less |