Skip to content

Commit baf2c96

Browse files
Copilotabchatra
andcommitted
Remove !important and increase CSS specificity
Co-authored-by: abchatra <[email protected]>
1 parent 2f83848 commit baf2c96

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

theme/home.less

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -639,12 +639,13 @@
639639
}
640640
}
641641
.detailview {
642-
.yt-button, button.home-share-button {
642+
.column.six.wide .yt-button.button.large,
643+
.column.six.wide button.home-share-button.button.large {
643644
display: block;
644645
width: 100%;
645646
margin-bottom: 0.5rem;
646-
font-size: 1rem !important;
647-
padding: 0.7rem 1rem !important;
647+
font-size: 1rem;
648+
padding: 0.7rem 1rem;
648649
}
649650
.actions .card-action {
650651
max-width: 10rem;
@@ -784,12 +785,13 @@
784785
}
785786

786787
.detailview {
787-
.yt-button, button.home-share-button {
788+
.column.six.wide .yt-button.button.large,
789+
.column.six.wide button.home-share-button.button.large {
788790
display: block;
789791
width: 100%;
790792
margin-bottom: 0.5rem;
791-
font-size: 0.9rem !important;
792-
padding: 0.5rem 0.75rem !important;
793+
font-size: 0.9rem;
794+
padding: 0.5rem 0.75rem;
793795
}
794796
.column:first-child {
795797
height: auto;

0 commit comments

Comments
 (0)