webapp/src/components/Nav/Icon.css

24 lines
335 B
CSS
Raw Normal View History

2022-09-09 11:53:35 +00:00
.icon {
position: relative;
}
img {
width: 100%;
height: 100%;
}
.notifications-counter {
background-color: red;
border-radius: 1rem;
color: #fff;
font-size: 1rem;
font-weight: 700;
height: 1.5em;
line-height: 1.5em;
position: absolute;
right: -0.5rem;
text-align: center;
top: -0.5rem;
width: 1.5em;
}