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

Prevent accidential selection of line numbers in code view #1860

Merged
merged 1 commit into from
Jun 5, 2017

Conversation

silverwind
Copy link
Member

Before:

nums-before

After:

nums-after

@appleboy
Copy link
Member

appleboy commented Jun 3, 2017

@silverwind Please also update the css file.

@tboerger tboerger added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Jun 3, 2017
@appleboy appleboy added the type/enhancement An improvement of existing functionality label Jun 3, 2017
@appleboy appleboy added this to the 1.2.0 milestone Jun 3, 2017
@silverwind
Copy link
Member Author

Done, but an unrelated change got built in the css.

@silverwind
Copy link
Member Author

Might be better to untrack the css from git :)

@appleboy
Copy link
Member

appleboy commented Jun 3, 2017

@silverwind I can take it but thanks for your update.

@appleboy
Copy link
Member

appleboy commented Jun 3, 2017

LGTM

@tboerger tboerger added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Jun 3, 2017
@silverwind
Copy link
Member Author

@appleboy I'll look into overhauling the assets build.

@appleboy
Copy link
Member

appleboy commented Jun 3, 2017

@silverwind move discussions to #1861

@lafriks
Copy link
Member

lafriks commented Jun 3, 2017

LGTM if for now you could manualy add back removed css part so that PR code would be cleaner

@tboerger tboerger added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Jun 3, 2017
@silverwind
Copy link
Member Author

LGTM if for now you could manualy add back removed css part so that PR code would be cleaner

Just land the two commits seperately.

@appleboy
Copy link
Member

appleboy commented Jun 3, 2017

@silverkorn Please add back removed css part since you don't remove any source code from less file.

@silverwind
Copy link
Member Author

Found the issue, my local branch was out of date and did not include #1288. After rebasing, make assets did the right thing.

Copy link
Contributor

@pgaskin pgaskin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good other than my comments.

@@ -275,6 +275,10 @@
color: #999;
background: #f5f5f5;
width: 1%;
-moz-user-select: none;
-ws-user-select: none;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's no such thing. It should be -ms-user-select, not -ws-user-select.

@@ -1405,6 +1405,10 @@ footer .ui.language .menu {
color: #999;
background: #f5f5f5;
width: 1%;
-moz-user-select: none;
-ws-user-select: none;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's no such thing. It should be -ms-user-select, not -ws-user-select.

@silverwind
Copy link
Member Author

@geek1011 fixed that typo. I wish we would use Autoprefixer to prevent issues like that :)

@appleboy appleboy merged commit ae922af into go-gitea:master Jun 5, 2017
@silverkorn
Copy link
Contributor

@appleboy , Thanks for the typo in the username, you sent me a notice and now I know about this project! 😆
Adding a star right now!

@appleboy
Copy link
Member

appleboy commented Jun 6, 2017

@silverkorn Sorry for tag wrong name. 👍 I hope I'm not bothering you.

@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants