Skip to content

Commit

Permalink
fix: correct positioning of battery charging icon in examples (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-berger authored Oct 1, 2024
1 parent 51fa289 commit 57c5584
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 11 deletions.
4 changes: 2 additions & 2 deletions examples/boilerplate-react-buildless/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<!-- Custom styles. -->
<link rel="stylesheet" type="text/css" href="./styles.css" />

<!-- Disable find icon in local path. -->
<link rel="icon" href="data:;base64,=" />
<!-- Add empty favicon to suppress not found errors. -->
<link rel="icon" href="data:;" />

<!-- Allows React to be run buildless via "text/babel" script below. -->
<script
Expand Down
10 changes: 7 additions & 3 deletions examples/starter/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,13 @@ body,
color: #900029;
}

.battery {
position: relative;
}

.battery .charging-icon {
position: absolute;
font-size: 11px;
left: 7px;
top: 2px;
font-size: 7px;
left: -8px;
top: 3px;
}
4 changes: 2 additions & 2 deletions examples/starter/vanilla.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<!-- Custom styles. -->
<link rel="stylesheet" type="text/css" href="./styles.css" />

<!-- Disable find icon in local path. -->
<link rel="icon" href="data:;base64,=" />
<!-- Add empty favicon to suppress not found errors. -->
<link rel="icon" href="data:;" />

<!-- Allows React to be run buildless via "text/babel" script below. -->
<script
Expand Down
4 changes: 2 additions & 2 deletions examples/starter/with-glazewm.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<!-- Custom styles. -->
<link rel="stylesheet" type="text/css" href="./styles.css" />

<!-- Disable find icon in local path. -->
<link rel="icon" href="data:;base64,=" />
<!-- Add empty favicon to suppress not found errors. -->
<link rel="icon" href="data:;" />

<!-- Allows React to be run buildless via "text/babel" script below. -->
<script
Expand Down
4 changes: 2 additions & 2 deletions examples/starter/with-komorebi.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<!-- Custom styles. -->
<link rel="stylesheet" type="text/css" href="./styles.css" />

<!-- Disable find icon in local path. -->
<link rel="icon" href="data:;base64,=" />
<!-- Add empty favicon to suppress not found errors. -->
<link rel="icon" href="data:;" />

<!-- Allows React to be run buildless via "text/babel" script below. -->
<script
Expand Down

0 comments on commit 57c5584

Please sign in to comment.