Skip to content

Commit

Permalink
UI fixes for picture css class display
Browse files Browse the repository at this point in the history
The css_class is shown as overlay on the picture ingredient
editor. Since the toolbar has raised the height we need to
adopt the position
  • Loading branch information
tvdeyen committed Apr 16, 2024
1 parent 5f1790c commit 7cf54db
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions app/assets/stylesheets/alchemy/elements.scss
Original file line number Diff line number Diff line change
Expand Up @@ -641,15 +641,13 @@ alchemy-publish-element-button {
.picture_ingredient_css_class {
position: absolute;
z-index: 1;
bottom: 24px;
width: 99px;
background-color: white;
bottom: 34px;
background-color: rgba(255, 254, 255, 0.7);
padding: 4px 8px;
font-size: $small-font-size;
text-align: right;
height: 12px;
overflow: hidden;
max-width: 100%;
text-overflow: ellipsis;
}
}

Expand Down

0 comments on commit 7cf54db

Please sign in to comment.