Skip to content

Commit

Permalink
Address Stylelint
Browse files Browse the repository at this point in the history
  • Loading branch information
jared-thoughtbot committed Jan 31, 2025
1 parent 7b11e28 commit a9fc874
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
18 changes: 9 additions & 9 deletions app/assets/builds/administrate/application.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/assets/builds/administrate/application.css.map

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ button,

.button--tooltip {
background: none;
color: inherit;
border: none;
color: inherit;
cursor: pointer;
padding: 0;

Expand Down
16 changes: 8 additions & 8 deletions app/assets/stylesheets/administrate/components/_search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ $search-icon-size: 1rem;
}

.search__tooltip {
margin-right: 2rem;
anchor-name: --tooltip-anchor;
margin-right: 2rem;

svg {
fill: $grey-5;
height: 24px;
width: 24px;
fill: $grey-5;

&:hover {
fill: $action-color;
Expand All @@ -61,18 +61,18 @@ $search-icon-size: 1rem;
}

.search__tooltip-popover {
position-anchor: --tooltip-anchor;
left: anchor(center);
margin: 1rem;
position: fixed;
position-anchor: --tooltip-anchor;
top: anchor(bottom);
left: anchor(center);
transform: translateX(-50%);
margin: 1rem;

padding: 2rem;
border-color: $blue;
background-color: $blue;
color: $white;
border-color: $blue;
border-radius: $base-border-radius;
color: $white;
padding: 2rem;
width: max-content;
}

Expand Down

0 comments on commit a9fc874

Please sign in to comment.