Skip to content

Commit

Permalink
load usermenu-button.svg from file instead of data tag
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorerlingsson committed Jan 20, 2025
1 parent fb03806 commit 421dc98
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions static/img/usermenu-button.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion static/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -1916,7 +1916,7 @@ pre.arguments > div {
}

#usermenu-button::before {
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M20 21V19C20 17.9391 19.5786 16.9217 18.8284 16.1716C18.0783 15.4214 17.0609 15 16 15H8C6.93913 15 5.92172 15.4214 5.17157 16.1716C4.42143 16.9217 4 17.9391 4 19V21' stroke='%23F7F5F2' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 11C14.2091 11 16 9.20914 16 7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7C8 9.20914 9.79086 11 12 11Z' stroke='%23F7F5F2' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
content: url(img/usermenu-button.svg);
color: #f7f5f2;
font-weight: 600;
width: 24px;
Expand Down

0 comments on commit 421dc98

Please sign in to comment.