Skip to content

Commit

Permalink
#1444 ウィジェットのリンク文字列のスタイルが変わってしまっているので修正
Browse files Browse the repository at this point in the history
  • Loading branch information
inc2734 committed Oct 24, 2024
1 parent 9add185 commit 755231a
Show file tree
Hide file tree
Showing 14 changed files with 68 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@
ul {
@include widget-list-base();
}

:where(a) {
@include widget-link-base();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@
ul {
@include widget-list-base();
}

:where(a) {
@include widget-link-base();
}
}
4 changes: 4 additions & 0 deletions src/css/app/object/component/_widget/_widget-meta/_app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@
ul {
@include widget-list-base();
}

:where(a) {
@include widget-link-base();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
@include widget-list-base();
}

:where(a) {
@include widget-link-base();
}

.menu-item {
@include widget-has-children-expander();
}
Expand Down
4 changes: 4 additions & 0 deletions src/css/app/object/component/_widget/_widget-pages/_app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
@include widget-list-base();
}

:where(a) {
@include widget-link-base();
}

.page_item {
@include widget-has-children-expander();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@
ul {
@include widget-list-base();
}

:where(a) {
@include widget-link-base();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
@include widget-list-base();
}

:where(a) {
@include widget-link-base();
}

.post-date {
display: block;
@include core.set-font-size-level(-2);
Expand Down
4 changes: 4 additions & 0 deletions src/css/block-library/_wp-block-archives/_app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@

.wp-block-archives {
@include widget-list-base();

:where(a) {
@include widget-link-base();
}
}
8 changes: 8 additions & 0 deletions src/css/block-library/_wp-block-categories/_app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
margin-left: auto;
}

:where(a) {
@include widget-link-base();
}

.children {
@include widget-list-base();
}
Expand All @@ -18,4 +22,8 @@
ul {
@include widget-list-base();
}

:where(a) {
@include widget-link-base();
}
}
4 changes: 4 additions & 0 deletions src/css/block-library/_wp-block-latest-comments/_app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
.wp-block-latest-comments {
@include widget-list-base();

:where(a) {
@include widget-link-base();
}

& {
margin-left: auto;
}
Expand Down
4 changes: 4 additions & 0 deletions src/css/block-library/_wp-block-latest-posts/_app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
.wp-block-latest-posts {
@include widget-list-base();

:where(a) {
@include widget-link-base();
}

& {
margin-left: auto;
}
Expand Down
4 changes: 4 additions & 0 deletions src/css/block-library/_wp-block-rss/_app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
.wp-block-rss {
@include widget-list-base();

:where(a) {
@include widget-link-base();
}

& {
margin-left: auto;
}
Expand Down
4 changes: 4 additions & 0 deletions src/css/custom-widgets/_wpaw-posts-list/_app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
.wpaw-posts-list {
@include widget-list-base();

:where(a) {
@include widget-link-base();
}

& {
margin-left: auto;
}
Expand Down
12 changes: 12 additions & 0 deletions src/css/dependency/woocommerce/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -464,13 +464,21 @@
.widget_product_categories {
ul {
@include widget-list-base();

:where(a) {
@include widget-link-base();
}
}
}

// Product search widget
.woocommerce .product_list_widget {
@include widget-list-base();

:where(a) {
@include widget-link-base();
}

> li {
> a {
color: inherit;
Expand Down Expand Up @@ -526,6 +534,10 @@
.widget_recently_viewed_products {
ul {
@include widget-list-base();

:where(a) {
@include widget-link-base();
}
}

.product-title {
Expand Down

0 comments on commit 755231a

Please sign in to comment.