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

Bug/tile #173

Merged
merged 11 commits into from
Dec 7, 2017
Merged

Bug/tile #173

merged 11 commits into from
Dec 7, 2017

Conversation

fridmaster
Copy link
Contributor

fixed some css issues

@einavk
Copy link
Collaborator

einavk commented Nov 29, 2017

Question:

Why did you change the display for sdc-tile-content-info to be inline-block instead of flex ?

@fridmaster
Copy link
Contributor Author

fridmaster commented Nov 29, 2017

@einavk

display for tile info line css class is flex where it should be inline-block.

You opened a bug about it. I fixed it - like you told and checked that it works.

@einavk
Copy link
Collaborator

einavk commented Nov 29, 2017

my bug was opened for .sdc-tile-info-line not for .sdc-tile-content-info...
And in any case, if .sdc-tile-content-info was supposed to be inline-block (which it does not), then you would need to remove the flex-direction as it makes no sense to have them both.

@fridmaster
Copy link
Contributor Author

fridmaster commented Nov 30, 2017

@einavk Sorry for that issue. I added some changes which related to new requirements and fixed display value.

Update from upstream repo onap-sdc/sdc-ui@master
@ArielDKenan
Copy link
Collaborator

To this code: $tile-width-less-padding: $tile-full-width - ($tile-padding * 2)
You added: - ($border-width * 2)
The tile has property box-sizing: border-box (see the line "@include box-sizing;"), which means you do not need to subtract the border size to get the actual width. Box-sizing: border-box includes margin, padding, and border in calculating width.

To do this you added "$border-width: 1px;" There is absolutely no need to store the border size in a variable, especially now that you are removing the inclusion of border-width in the tile-width calculation.

@ArielDKenan
Copy link
Collaborator

The tile-info-line classes are meant to be used in a specific order:
.supertitle
.title
.subtitle
The supertitle goes above the title (hence the name), the title is the main text, and the subtitle goes below the title (hence the name). Recent changes made broke the style regarding this, though it looks fine in your examples because .supertitle is used below .title. A line below a title needs to have the class .subtitle, and we need to make sure that the tiles look good when the info-lines are given classes with the proper order.

fridmaster and others added 2 commits December 5, 2017 15:41
Update from upstream repo onap-sdc/sdc-ui@master
@fridmaster
Copy link
Contributor Author

Thank you@ArielDKenan I will fix this issue.
Do I need to fix margin issues and flow or something else? Does Ellipsis work now as you want?
In this design there is no super-Title at all.
#177

@islavi islavi merged commit 40c2dbf into onap-sdc:master Dec 7, 2017
@fridmaster fridmaster deleted the bug/tile branch January 7, 2018 09:17
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

Successfully merging this pull request may close these issues.

None yet

4 participants