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

Profile image goes right when URL is short #3

Open
wldhg opened this issue Feb 6, 2018 · 1 comment
Open

Profile image goes right when URL is short #3

wldhg opened this issue Feb 6, 2018 · 1 comment

Comments

@wldhg
Copy link

wldhg commented Feb 6, 2018

In index page, when profile url is short, profile image goes right.
In other words, float: right does not work.
So I resolved this problem like below.

/*
    On source/scss/_partial/sidebar.scss
    (Modify the file like below)
*/
....
#about-panel {
    display: flex;
    position: relative;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 10px;
    .info {
        .title {
            font-size: 18px;
        }
        .url {
            color: #666666;
            font-size: 16px;
            font-weight: 200;
        }
        .bio {
            padding-top: 14px;
            font-size: 15px;
            font-weight: 200;
            color: #777777;
        }
    }
    .avatar {
        float: right;
	position: absolute;
	right: 0;
        margin-left: 50px;
        border-radius: 100%;
        border: 3px solid #F2F5F7;
        width: 86px;
        height: 86px;
    }
}
....
@AngryPowman
Copy link
Owner

Nice changes, feel free to commit a pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants