Skip to content

Commit

Permalink
[MOOSE-179]: remove details block styles; rework anchor stying
Browse files Browse the repository at this point in the history
  • Loading branch information
GeoffDusome committed Jan 16, 2025
1 parent beae8ae commit 2d0bd89
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 47 deletions.
2 changes: 0 additions & 2 deletions wp-content/plugins/core/src/Blocks/Blocks_Definer.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
use Tribe\Theme\blocks\core\button\Button;
use Tribe\Theme\blocks\core\column\Column;
use Tribe\Theme\blocks\core\columns\Columns;
use Tribe\Theme\blocks\core\details\Details;
use Tribe\Theme\blocks\core\embed\Embed;
use Tribe\Theme\blocks\core\image\Image;
use Tribe\Theme\blocks\core\lists\Lists;
Expand Down Expand Up @@ -47,7 +46,6 @@ public function define(): array {
DI\get( Button::class ),
DI\get( Column::class ),
DI\get( Columns::class ),
DI\get( Details::class ),
DI\get( Embed::class ),
DI\get( Image::class ),
DI\get( Lists::class ),
Expand Down
7 changes: 1 addition & 6 deletions wp-content/themes/core/assets/pcss/typography/anchors.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,13 @@

a {

.wp-block-post-content &:not(.wp-element-button):focus-visible {

@mixin focus-visible-inline-text;
}

/* -------------------------------------------------------------------------
* Anchor: Inline Links
*
* Note: Not in theme.json as the selector needs to be more specific
* ------------------------------------------------------------------------- */

.wp-block-post-content :where(p, li) & {
.wp-block-post-content &:not([class]) {

@mixin inline-text-link;
}
Expand Down
13 changes: 0 additions & 13 deletions wp-content/themes/core/blocks/core/details/Details.php

This file was deleted.

5 changes: 0 additions & 5 deletions wp-content/themes/core/blocks/core/details/index.js

This file was deleted.

21 changes: 0 additions & 21 deletions wp-content/themes/core/blocks/core/details/style.pcss

This file was deleted.

0 comments on commit 2d0bd89

Please sign in to comment.