Skip to content

Commit

Permalink
style: Nits on css
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisChV committed Apr 17, 2024
1 parent e06f1b5 commit a185fe7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/content-tags-drawer/ContentTagsCollapsible.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
}

.tags-tree {
font-size: 17px;
font-size: 1rem;
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/content-tags-drawer/ContentTagsDrawer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const ContentTagsDrawer = ({ id, onClose }) => {
}, [commitGlobalStagedTagsStatus]);

return (
<div id="content-tags-drawer" className="mt-1 tags-drawer d-flex flex-column justify-content-between">
<div id="content-tags-drawer" className="mt-1 tags-drawer d-flex flex-column justify-content-between min-vh-100">
<Container size="xl">
{ isContentDataLoaded
? <h2>{ contentName }</h2>
Expand Down Expand Up @@ -138,7 +138,7 @@ const ContentTagsDrawer = ({ id, onClose }) => {

{ isTaxonomyListLoaded && isContentTaxonomyTagsLoaded && (
<Container
className="bg-white position-sticky p-3.5 tags-drawer-footer"
className="bg-white position-sticky p-3.5 box-shadow-up-2 tags-drawer-footer"
>
<div className="d-flex justify-content-end">
{ commitGlobalStagedTagsStatus !== 'loading' ? (
Expand Down
4 changes: 0 additions & 4 deletions src/content-tags-drawer/ContentTagsDrawer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@
}

.tags-drawer {
min-height: 100vh;

.tags-drawer-footer {
@include pgn-box-shadow(2, "up");

right: 0;
bottom: 0;
}
Expand Down

0 comments on commit a185fe7

Please sign in to comment.