Skip to content

Commit

Permalink
[ext] fix: rate buttons are not smaller on small resolutions (tournes…
Browse files Browse the repository at this point in the history
…ol-app#1390)


Co-authored-by: abhiram11 <[email protected]>
  • Loading branch information
abhiram11 and abhiram11 authored Mar 2, 2023
1 parent 8f1bb9b commit 34c1fd6
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions browser-extension/src/addRateButtons.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,31 @@ img.tournesol-button-image.tournesol-rate-later {
margin-left: -10px;
margin-right: 2px;
}

@media (min-width: 656px) and (max-width: 990px) {
button.tournesol-rate-button {
font-size: 0;
}

img.tournesol-button-image {
margin: 0;
}

img.tournesol-button-image.tournesol-rate-later {
margin: 0;
}
}

@media (min-width: 1017px) and (max-width: 1366px) {
button.tournesol-rate-button {
font-size: 0;
}

img.tournesol-button-image {
margin: 0;
}

img.tournesol-button-image.tournesol-rate-later {
margin: 0;
}
}
2 changes: 1 addition & 1 deletion browser-extension/src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Tournesol Extension",
"version": "2.5.1",
"version": "2.5.2",
"description": "Open Tournesol directly from Youtube",
"permissions": [
"https://tournesol.app/",
Expand Down

0 comments on commit 34c1fd6

Please sign in to comment.