Skip to content

Commit

Permalink
css: Increase icon size and alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
flourish86 committed Sep 5, 2023
1 parent b44b66f commit 98029c2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 17 deletions.
3 changes: 2 additions & 1 deletion public/css/common.less
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@

color: @text-color;
margin-right: 0.2em;

i.icon {
vertical-align: text-top;
font-size: 1.25em;
}

i.icon:before {
Expand Down
23 changes: 7 additions & 16 deletions public/css/event-source-badge.less
Original file line number Diff line number Diff line change
@@ -1,21 +1,12 @@
.event-source-badge {
position: relative;
display: inline-flex;
background: @gray;
border-radius: 1em;
padding-right: .5em;
line-height: 2em;
color: @text-color-inverted;

.source-icon {
position: absolute;
}

.name {
position: relative;
display: inline-block;
height: 2em;
border-bottom-right-radius: 1em;
border-top-right-radius: 1em;
z-index: -99;
padding: @ball-pad .5em @ball-pad 1.5em;
margin-left: 1em;

background-color: @gray;
color: @text-color-inverted;
padding: 0
}
}

0 comments on commit 98029c2

Please sign in to comment.