Skip to content

Commit

Permalink
Styling updates
Browse files Browse the repository at this point in the history
* Adds overflow:auto to content to prevent overflow of large images
* Changes class name for category name to prevent absolute positioning used in another context
  • Loading branch information
matt-bernhardt committed Aug 31, 2023
1 parent 834627f commit ac01705
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion web/app/themes/mitlib-news/content-single.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
?>
</span>
<?php if ( has_category() ) : ?>
<span class="category-post">
<span class="category-post-single">

<?php
$category = get_the_category();
Expand Down
3 changes: 3 additions & 0 deletions web/app/themes/mitlib-news/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -832,6 +832,9 @@ h2.grid {
padding: 0px;
padding-left: 8px;
}
.mitContent {
overflow: auto;
}
.mitContent h2, .mitContent h3, .mitContent h4 {
margin: 0px;
padding: 0px;
Expand Down

0 comments on commit ac01705

Please sign in to comment.