Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevents long URLs from breaking the layout. #42

Closed
wants to merge 1 commit into from
Closed

Prevents long URLs from breaking the layout. #42

wants to merge 1 commit into from

Conversation

dreger
Copy link

@dreger dreger commented Jul 14, 2015

Re: #29

This commit changes the span.link-text element to a block layout,
which allows us to apply the CSS text-overflow: ellipsis; rule to
long URLs. I've also removed the now unnecessary <br> tag in the post
template, as block layout elements do not require manual line breaks.

Re: #29

This commit changes the `span.link-text` element to a block layout,
which allows us to apply the CSS `text-overflow: ellipsis;` rule to
long URLs. I've also removed the now unnecessary <br> tag in the post
template, as block layout elements do not require manual line breaks.
@cheeaun
Copy link
Owner

cheeaun commented Jul 15, 2015

Just wondering how do you test this? I've tried it on Mobile emulation mode in Chrome, it's still kinda breaks the layout 😞

@cheeaun
Copy link
Owner

cheeaun commented Jul 15, 2015

It still pushes the comment button away.

push-hackerweb

@cheeaun cheeaun added the bug label Jul 15, 2015
@dreger
Copy link
Author

dreger commented Jul 15, 2015

Hmm... I only made changes to the hw-ios-*.css files, so it might be breaking because I'm not catching the non-iOS hw-web.css stylesheet - which I can fix. I think things are fixed for iOS browsers, however:

screen shot 2015-07-14 at 9 53 09 pm

@dreger dreger closed this Jun 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants