Fix liquid tags overflow (#8369)
* Fix liquid tags overflowing comment box in notifications * Prevent tags from being too wide
This commit is contained in:
parent
582d32393c
commit
a878d42fa7
4 changed files with 7 additions and 4 deletions
|
|
@ -9,9 +9,10 @@
|
|||
border: 1px solid var(--card-color-tertiary);
|
||||
box-shadow: $shadow;
|
||||
border-radius: 3px;
|
||||
width: auto;
|
||||
@media screen and (min-width: 760px) {
|
||||
margin: 0.95em auto;
|
||||
width: 620px;
|
||||
max-width: 620px;
|
||||
}
|
||||
|
||||
.details {
|
||||
|
|
|
|||
|
|
@ -11,9 +11,10 @@
|
|||
margin: 0.95em 0 1.2em;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
width: auto;
|
||||
@media screen and (min-width: 760px) {
|
||||
margin: 0.95em auto;
|
||||
width: 620px;
|
||||
max-width: 620px;
|
||||
}
|
||||
.ltag__tag__content {
|
||||
a {
|
||||
|
|
|
|||
|
|
@ -23,9 +23,10 @@
|
|||
margin: 0.95em 0 1.2em;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
width: auto;
|
||||
@media screen and (min-width: 760px) {
|
||||
margin: 0.95em auto;
|
||||
width: 620px;
|
||||
max-width: 620px;
|
||||
}
|
||||
.ltag__user__pic {
|
||||
display: inline-block;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<div class="ltag__tag ltag__tag__id__<%= tag.id %>" style="border-color:<%= dark_color %>;box-shadow: 3px 3px 0px <%= dark_color %> ">
|
||||
<div class="ltag__tag ltag__tag__id__<%= tag.id %>" style="border-color:<%= dark_color %>;box-shadow: 3px 3px 0px <%= dark_color %>;">
|
||||
<style>
|
||||
.ltag__tag__id__<%= tag.id %> .follow-action-button{
|
||||
background-color: <%= tag.bg_color_hex %> !important;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue