Skip to content

Commit e194e37

Browse files
author
committed
Deployed 6bbe43c with MkDocs version: 1.6.1
1 parent 7973b03 commit e194e37

2 files changed

Lines changed: 11 additions & 6 deletions

File tree

assets/topbar.css

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,15 @@
3838
gap: 0.4rem;
3939
}
4040

41-
#utplsql-topbar .utplsql-brand img {
42-
height: 1.3rem;
43-
width: auto;
41+
#utplsql-topbar .utplsql-brand-icon {
4442
display: block;
43+
width: 1.3rem;
44+
height: 1.3rem;
45+
flex-shrink: 0;
46+
background-image: url('icon-transparent.png');
47+
background-repeat: no-repeat;
48+
background-position: center;
49+
background-size: contain;
4550
}
4651

4752
#utplsql-topbar .utplsql-controls {

assets/topbar.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@
133133
brand.className = 'utplsql-brand';
134134
brand.href = BASE + '/';
135135

136-
var icon = document.createElement('img');
137-
icon.src = BASE + '/assets/icon-transparent.png';
138-
icon.alt = 'utPLSQL';
136+
var icon = document.createElement('span');
137+
icon.className = 'utplsql-brand-icon';
138+
icon.setAttribute('aria-hidden', 'true');
139139
brand.appendChild(icon);
140140

141141
var brandText = document.createElement('span');

0 commit comments

Comments
 (0)