widgets: Remove unnecessary styles.

This commit is contained in:
Karl Stolley 2024-05-06 14:25:52 -05:00 committed by Tim Abbott
parent 72b6c97042
commit 9b8e8bf0d3
1 changed files with 1 additions and 12 deletions

View File

@ -87,7 +87,7 @@
& li { & li {
list-style: none; list-style: none;
margin: 2px 2px 6px 0; margin: 0 2px 6px 0;
} }
& ul { & ul {
@ -125,7 +125,6 @@
.poll-widget { .poll-widget {
.poll-option { .poll-option {
font-weight: 400; font-weight: 400;
font-size: 14px;
} }
/* For the box-shadow to be visible on the left */ /* For the box-shadow to be visible on the left */
@ -135,23 +134,15 @@
& span.poll-option { & span.poll-option {
font-weight: 600; font-weight: 600;
padding-top: 28px;
} }
.poll-vote { .poll-vote {
/* This is to ensure that even when the list of poll-names overflows,
the voting button remains clickable and on top of all other containers. */
position: relative;
z-index: 1;
color: hsl(156deg 41% 40%); color: hsl(156deg 41% 40%);
border-color: hsl(156deg 28% 70%); border-color: hsl(156deg 28% 70%);
border-style: solid; border-style: solid;
font-weight: 600; font-weight: 600;
border-radius: 3px; border-radius: 3px;
margin-right: 4px; margin-right: 4px;
padding-left: 2px; /* padding for Chromium browsers */
padding-right: 2px;
min-width: 25px; min-width: 25px;
height: 25px; height: 25px;
font-size: 13px; font-size: 13px;
@ -170,8 +161,6 @@
.poll-names { .poll-names {
color: hsl(0deg 0% 45%); color: hsl(0deg 0% 45%);
padding-left: 4px; padding-left: 4px;
padding-top: 28px;
font-size: 14px;
} }
} }