philmckrackon Well-known member Jun 27, 2024 #1 I can't remember where to set the message block radius for the mobile width or can it only be done via css? Thanks When the message block is > 650px the border radius is 10px. When the reactive 650px width is activated the border radius is zero:
I can't remember where to set the message block radius for the mobile width or can it only be done via css? Thanks When the message block is > 650px the border radius is 10px. When the reactive 650px width is activated the border radius is zero:
D Deleted member 184953 Guest Jun 27, 2024 #2 philmckrackon said: or can it only be done via css? Click to expand... Yep. But in the XF default style, the border radius does not seem to change with the viewport. Upvote 1 Downvote
philmckrackon said: or can it only be done via css? Click to expand... Yep. But in the XF default style, the border radius does not seem to change with the viewport.
philmckrackon Well-known member Jun 27, 2024 #3 Old Nick said: Yep. But in the XF default style, the border radius does not seem to change with the viewport. Click to expand... Hmm, makes sense. My style is driven from the XF default as the parent. I'm not sure how to achieve this. Any idea on some sort of CSS code to try? Edit: Looks like @media (max-width: @xf-responsiveNarrow) or @media (min-width: @xf-responsiveNarrow depending how I code it. Last edited: Jun 27, 2024 Upvote 0 Downvote
Old Nick said: Yep. But in the XF default style, the border radius does not seem to change with the viewport. Click to expand... Hmm, makes sense. My style is driven from the XF default as the parent. I'm not sure how to achieve this. Any idea on some sort of CSS code to try? Edit: Looks like @media (max-width: @xf-responsiveNarrow) or @media (min-width: @xf-responsiveNarrow depending how I code it.
D Deleted member 184953 Guest Jun 27, 2024 #4 Less: [CODE=less]@media (max-width: @xf-responsiveNarrow) { .block--message, .message { border-radius: 10px; } } Something like that Upvote 0 Downvote
Less: [CODE=less]@media (max-width: @xf-responsiveNarrow) { .block--message, .message { border-radius: 10px; } } Something like that