Using the `:only-child` selector we can adjust widths with CSS and don't have to rely on methods calculating which features are available.
8 lines
135 B
Ruby
8 lines
135 B
Ruby
class Widgets::Feeds::ProposalsComponent < ApplicationComponent
|
|
attr_reader :feed
|
|
|
|
def initialize(feed)
|
|
@feed = feed
|
|
end
|
|
end
|