Skip to content

Commit

Permalink
related to #1498 icon margin adjustment for album action in tile mode
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthieuLP committed Oct 4, 2021
1 parent c63c86c commit 66a2d4d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions admin/themes/default/js/cat_list.js
Expand Up @@ -15,7 +15,7 @@ function setDisplayCompact() {
color : "#848484",
});
});
$(".categoryBox").removeClass("line_cat");
$(".categoryBox").removeClass("line_cat").removeClass("tile_cat");
$(".categoryBox").css({
minWidth: "230px",
maxWidth: "350px",
Expand Down Expand Up @@ -163,7 +163,7 @@ function setDisplayLine() {
});

/************************************/
$(".categoryBox").addClass("line_cat");
$(".categoryBox").addClass("line_cat").removeClass("tile_cat");
$(".categoryBox").css({
minWidth: "90%",
maxWidth: "100%",
Expand Down Expand Up @@ -287,7 +287,7 @@ function setDisplayTile() {
$(".addAlbum.input-mode form").css({
transitionDelay: "0s",
});
$(".categoryBox").removeClass("line_cat");
$(".categoryBox").removeClass("line_cat").addClass("tile_cat");
$(".categoryBox").css({
minWidth: "220px",
maxWidth: "280px",
Expand Down
4 changes: 2 additions & 2 deletions admin/themes/default/theme.css
Expand Up @@ -239,10 +239,10 @@ TABLE.languages TR TD { padding: 7px 20px; }
.albumActions a span, .albumActions span span{
margin: 10px;
}
.albumActions a span {
.tile_cat .albumActions a span {
margin-left: 20px;
}
.albumActions .iconLegend {
.tile_cat .albumActions .iconLegend {
margin-left: 0;
}
.addAlbum {
Expand Down

0 comments on commit 66a2d4d

Please sign in to comment.