Skip to content

Commit

Permalink
Update left border color (#12)
Browse files Browse the repository at this point in the history
* update color

* change to arrow function
  • Loading branch information
liquidely authored Jun 5, 2024
1 parent f606e4b commit 059bc8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/scripts/ext.networknotice.Notice.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

function init() {
if ( 'localStorage' in window ) {
document.querySelectorAll( '[data-component="network-notice"]' ).forEach( function( notice ) {
document.querySelectorAll( '[data-component="network-notice"]' ).forEach( ( notice ) => {
const key = notice.dataset.id;
if ( isInStorage( key ) ) {
notice.classList.add( 'd-none' );
Expand Down
2 changes: 1 addition & 1 deletion resources/styles/ext.networknotice.Notice.less
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
bottom: 0;
left: 0;
position: absolute;
background-color: var( --clr-wiki-primary );
background-color: var( --clr-wiki-theme-primary, var( --clr-wiki-primary ) );
border-radius: 0.5rem 0 0 0.5rem;
}

Expand Down

0 comments on commit 059bc8c

Please sign in to comment.