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

위젯페이지 각 위젯들을 감싸는 div에 class명을 줄 수 있게 설정 추가 #78

Closed
treasurej opened this issue Nov 20, 2013 · 1 comment

Comments

@treasurej
Copy link
Contributor

위젯페이지에서 위젯을 추가하면

<div style="overflow:hidden;float: left; width: 620px; border: 0px solid rgb(255, 255, 255); margin: 0px; background-color: rgb(255, 255, 255); background-image: none; background-position: 0px 0px; background-repeat: repeat repeat;">
...
</div>

이렇게 위젯을 감싸는 div가 생기는데
이 div에 class명이 필요합니다.

반응형일 때 width: 620px을 줬을 때는 class명이 없기 때문에 css로 값을 변경하기가 어렵습니다.
위젯에 width를 주는 이유는 한 줄에 두 세개의 위젯을 넣기 위함인데
반응형에 동작하려면 해당 width를 조정해야 하는데 class명이 없기 때문에 어렵습니다.

그래서 현재는
.content > div 로 접근하고 있지만
위젯에 위젯상자라도 들어가면 .content > div > div 등으로 어렵게 가고

만일 위젯상자가 있는 위젯과 위젯상자가 없는 위젯이 한 페이지에 동시에 존재했을 때는
위젯상자가 없는 위젯의 안쪽에 있는 div가 영향을 받아서 깨지게 됩니다.

  • 해결방안
    위젯크기 설정에 class나 id명을 줄 수 있는 입력칸을 만들면 좋을 것 같습니다.
@ghost
Copy link

ghost commented Nov 22, 2013

많이 불편한 부분이지요. 👍

@ghost ghost self-assigned this Nov 25, 2013
@ghost ghost added the priority/low label Feb 8, 2014
@ghost ghost modified the milestones: 1.7.6, 1.7.5 Mar 19, 2014
@ghost ghost closed this as completed Mar 19, 2014
@ghost ghost removed the priority/low label Mar 19, 2014
ghost pushed a commit that referenced this issue Apr 4, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant