Skip to content

Commit

Permalink
fix(core): 馃悰 hide sidebar lastmod on tablet
Browse files Browse the repository at this point in the history
It is duplicated with footer
  • Loading branch information
alistair3149 committed May 8, 2024
1 parent d1101dd commit ed54bbf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 0 additions & 1 deletion includes/Partials/Sidebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ public function getSidebarData( $parentData ): array {

/**
* Build last modified template data
* TODO: Use relative time instead (#700)
*
* @return array|null
*/
Expand Down
7 changes: 7 additions & 0 deletions resources/skins.citizen.styles/components/ContentSidebar.less
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,10 @@
border-radius: var( --border-radius--small );
}
}

#citizen-sidebar-lastmod {
@media ( max-width: @max-width-breakpoint-tablet ) {
// Duplicated with footer already
display: none;
}
}

0 comments on commit ed54bbf

Please sign in to comment.